summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhub.c
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2007-06-30 19:48:28 +0000
committercperciva <cperciva@FreeBSD.org>2007-06-30 19:48:28 +0000
commit64e90b3614c81f0b61efc2544e1baea59ea7e81c (patch)
tree8807e0811f3efad107ec1c5565ab49fd32a8fb3a /sys/dev/usb/uhub.c
parent4db9e9bfd8b24b76fd8c30e12d0bc69afa75044a (diff)
downloadFreeBSD-src-64e90b3614c81f0b61efc2544e1baea59ea7e81c.zip
FreeBSD-src-64e90b3614c81f0b61efc2544e1baea59ea7e81c.tar.gz
Add support for HTTP/1.0 Persistent Connections to phttpget. Requests are
be marked as HTTP/1.1 but "Connection: Keep-Alive" is added; this convinces HTTP/1.0 servers and proxies to hold the TCP connection open despite not being able to use HTTP pipelining. This dramatically cuts down on the number of TCP connections (and thus port numbers) used by portsnap when talking to an HTTP/1.0 proxy (e.g., squid), and has the side benefit of improving performance in those cases. Tested by: simon Approved by: re (kensmith) MFC After: 1 week
Diffstat (limited to 'sys/dev/usb/uhub.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud