keepalive/redirect bug in Squid 2.0/PATCH2

From: Peter van Dijk <peter-squid@dont-contact.us>
Date: Tue, 19 Jan 1999 23:29:36 +0100

Compare:

---
$ nc proxy 3128
GET http://www.vuurwerk.nl/vreemdeberichten HTTP/1.0
HTTP/1.0 301 Moved Permanently
Server: WN/2.0.5
Date: Tue, 19 Jan 1999 22:26:22 GMT
Content-Type: text/html
Location: http://www.vuurwerk.nl/vreemdeberichten/
Age: 0
X-Cache: MISS from zopie.attic.vuurwerk.nl
Proxy-Connection: close
[connection stays open here]
and:
---
$ nc www.vuurwerk.nl 80
GET /vreemdeberichten HTTP/1.0
Host: www.vuurwerk.nl
HTTP/1.1 301 Moved Permanently
Server: WN/2.0.5
Date: Tue, 19 Jan 1999 22:26:54 GMT
Content-type: text/html
Location: http://www.vuurwerk.nl/vreemdeberichten/
[connection gets closed automatically and immediately here]
---
Netscape won't mind here. Lynx will choke and wait for the connection to timeout,
in the first case. I don't know where the bug is exactly, it could be because
www.vuurwerk.nl actually does keepalive for redirects but not really for
normal requests.
Greetz, Peter.
-- 
<squeezer> AND I AM GONNA KILL MIKE                |          Peter van Dijk
<squeezer> hardbeat, als je nog nuchter bent:      | peter@attic.vuurwerk.nl
<squeezer>   @date = localtime(time);		   |  realtime security d00d
<squeezer>   $date[5] += 2000 if ($date[5] < 37);  | 
<squeezer>   $date[5] += 1900 if ($date[5] < 99);  |        * blah *
Received on Tue Jan 19 1999 - 15:09:38 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:05 MST