Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jun 2007 19:48:28 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/portsnap/phttpget phttpget.c
Message-ID:  <200706301948.l5UJmS5H077162@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
cperciva    2007-06-30 19:48:28 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/portsnap/phttpget phttpget.c 
  Log:
  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
  
  Revision  Changes    Path
  1.12      +10 -3     src/usr.sbin/portsnap/phttpget/phttpget.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706301948.l5UJmS5H077162>