[squid-users] Response timeout for upstream HTTP servers

Adam Vollrath adam at endpoint.com
Tue Jun 7 17:08:02 UTC 2016


Good morning! I'm having trouble with upstream HTTP servers not
responding for more than 30 seconds.  I'd like to just return an empty
response to the downstream client. Nothing is better than waiting.

I'm looking for a `squid3` configuration directive to timeout between an
HTTP request and response.  Here's the directive for `nginx`:
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_read_timeout

	"Defines a timeout for reading a response from the proxied server. The
timeout is set only between two successive read operations, not for the
transmission of the whole response. If the proxied server does not
transmit anything within this time, the connection is closed."

Does `squid3` have a way to implement this?  Is this what the
`read_timeout` directive does if my upstream systems are configured as
`cache_peer`?

Thank you all for your time!


More information about the squid-users mailing list