This is a discussion on [squid-users] Should "Proxy-Connection: close" tear down TCP connection within the Squid Users forums, part of the Web Server and Related Forums category; When Squid sends a Proxy-Connection: close header back to a client should it also be closing the TCP connection? ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
When Squid sends a Proxy-Connection: close header back to a client should it also be closing the TCP connection? I have an instance where Squid-2.4S7 forwards a 302 redirect back to the client with the Proxy-Connection: close but doesn't shut down the TCP connection for another 15 minutes. There is no Content-Length header in the 302 redirect received from the web server, and in turn there is no Content-Length header that is passed to the client. I would normally say that the tcp connection SHOULD remain open because the web server never closed it and did NOT send a Content-Length header, but since Squid sent a Proxy-Connection: close header is it now responsible for promptly closing the TCP connection? Thanks, -Dan Client IE6 Sends: GET http://site Proxy-Connection: Keep-Alive Squid sends back: HTTP/1.0 302 Moved Temporarily Location: http://newsite Content-Type: text/html X-Cache: Miss from webproxy Proxy-Connection: close Client hangs for 15 minutes. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|