cvs commit: src/usr.sbin/portsnap/phttpget phttpget.c

Colin Percival cperciva at FreeBSD.org
Thu Nov 17 03:01:33 PST 2005


cperciva    2005-11-17 11:01:32 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/portsnap/phttpget phttpget.c 
  Log:
  Correctly handle a TCP connection being shutdown by the server while
  we're reading response headers.  (Handle it as a connection-killing
  error, rather than entering an infinite loop reading zero bytes.)
  
  Reported by:    simon
  Discovered thanks to:   A not-very-transparent transparent HTTP proxy.
  MFC after:      3 days
  
  Revision  Changes    Path
  1.7       +2 -1      src/usr.sbin/portsnap/phttpget/phttpget.c


More information about the cvs-all mailing list