Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Nov 2005 11:01:32 +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:  <200511171101.jAHB1WaX075005@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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