Re: [squid-users] CONNECT & tcp timeouts

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 29 Dec 2002 14:47:55 +0100

Charles Bruneteau wrote:

> I face a "subtle" issue with the way squid (2.2S5 & 2.5S1) handles tcp
> connection timeout with the CONNECT method:
> - 'GET ...' to a down webserver produces a 504 status code
> - 'CONNECT ...' to a down webserver doesn't: once the tcp timeout occured squid
> simply closes the tcp session (FIN) with the client.
> Is there a reason ?

Hmm.. Squid should send a "504 Gateway Timeout" or "503 Service
Unavailable" if the requested server in the CONNECT request is not
reachable. If it does not this is a bug.

Testing...

Connection refused: 503
Destination unreachable: 503
Connect timeout: Connection closed [bug]

Please register a Squid bugzilla entry describing the bug.

Regards
Henrik
Received on Sun Dec 29 2002 - 07:40:09 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:14 MST