Red Hat Bugzilla – Bug 798090
client timeout uses server-side "read_timeout", not "request_timeout"
Last modified: 2013-03-28 06:32:51 EDT
Created attachment 566184 [details] Fix httpAccept() to timeout defined by "request_time" Description of problem: client-side http timeout should be defined by "request_timeout", but squid-3.1.x and later, defined by "read_timeout". Version-Release number of selected component (if applicable): squid-3.1.10-1.el6_2.2 How reproducible: Steps to Reproduce: 1. start squid (default settings) 2. exec "time telnet localhost 3128" 3. Actual results: Timeout by 15 minutes ("read_timeout" default value). $ time telnet localhost 3128 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. Connection closed by foreign host. real 15m0.910s user 0m0.001s sys 0m0.012s Expected results: Timeout by 5 minutes ("request_timeout" default value). $ time telnet localhost 3128 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. Connection closed by foreign host. real 5m0.107s user 0m0.001s sys 0m0.007s Additional info: Patch to src/client_side.cc attached which fixes this. Original post: Bug 3502 - client-side http timeout isn't defined by "request_timeout" http://bugs.squid-cache.org/show_bug.cgi?id=3502
This problem fixed at squid-3.HEAD-r12065. http://www.squid-cache.org/Versions/v3/3.HEAD/changesets/squid-3-12065.patch
Hi, thanks for info, patch and putting upstream. Great job! Jiri
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0505.html
*** Bug 877036 has been marked as a duplicate of this bug. ***