[squid-users] Should "Proxy-Connection: close" tear down TCP connection

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? ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-08-2004
Schuster, Dan
 
Posts: n/a
Default [squid-users] Should "Proxy-Connection: close" tear down TCP connection


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.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:23 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0