From: Christos Tsantilas Date: Thu, 4 Dec 2014 14:00:17 +0000 (+0200) Subject: url_rewrite_timeout directive X-Git-Tag: merge-candidate-3-v1~462 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32fd6d8a226663eb89ddd797ab6c5f3dc2e2d9dd;p=thirdparty%2Fsquid.git url_rewrite_timeout directive This patch adds the url_rewrite_timeout directive. When configured, Squid keeps track of active requests and treats timed out requests to redirector as failed requests. url_rewrite_timeout format: url_rewrite_timeout timeout time-units on_timeout= [response=] The url_rewrite_timeout directive can accept the on_timeout argument to allow user configure the action when the helper request times out. The available actions are: fail: squid return a ERR_GATEWAY_FAILURE error page bypass: the url is not rewritten. retry: retry the request to helper use_configured_response: use a response which can be configured using the the response= option Example usage: url_rewrite_timeout 30 seconds \ on_timeout=use_configured_response \ response="OK url=http://example.com/support" This is a Measurement Factory project --- diff --git a/doc/release-notes/release-3.6.sgml b/doc/release-notes/release-3.6.sgml index c432fc605b..003fa2240b 100644 --- a/doc/release-notes/release-3.6.sgml +++ b/doc/release-notes/release-3.6.sgml @@ -38,6 +38,7 @@ The 3.6 change history can be @@ -75,7 +90,10 @@ This section gives a thorough account of those changes in three categories: New tags