Search squid archive

server request timeout not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux