[squid-users] server request timeout not working

Heiler Bemerguy heiler.bemerguy at cinbesa.com.br
Tue May 24 20:26:57 UTC 2016


If you connect to squid and ask it to get a file on a server which 
accepts the tcp connection but won't reply anything, the connection will 
never timeout.

Like this: (client side)

GET http://10.1.4.60:8080/pehasuzyjireohwwlik.txt HTTP/1.1
Accept: */*
Accept-Encoding: identity
Range: bytes=20-80
User-Agent: FakeUser/0.0
Proxy-Connection: Keep-Alive
Host: 10.1.4.60

Gives this on server side:

GET /pehasuzyjireohwwlik.txt HTTP/1.1
Accept: */*
Accept-Encoding: identity
User-Agent: FakeUser/0.0
Host: 10.1.4.60:8080
Via: 1.1 jasperserver (squid)
X-Forwarded-For: 10.1.4.60
Cache-Control: max-age=29030400
Connection: keep-alive

It does connect to 10.1.4.60:8080, this port is open and accepting 
connections.. but it won't reply anything to squid, and squid will 
remain connected to it and waiting forever

client_idle_pconn_timeout 30 seconds

client_persistent_connections on
server_persistent_connections on
connect_timeout 60 seconds
request_timeout 30 seconds
persistent_request_timeout 30 seconds
collapsed_forwarding on


Best Regards,

-- 
Heiler Bemerguy - (91) 98151-4894
Assessor Técnico - CINBESA (91) 3184-1751

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160524/d427e465/attachment-0001.html>


More information about the squid-users mailing list