Thanks Alex.
Unfortunately I don't have enough C/C++ skills to fix it.
I've created a bug report –
https://bugs.squid-cache.org/show_bug.cgi?id=4788
We've also changed parent behavior so it will not silently close the
connection but will return 502 in this exact situation and seems like it
fixes
On 11/28/2017 02:27 PM, Ivan Larionov wrote:
> Another interesting fact is that I can't reproduce this issue if squid
> has no other traffic except my testing requests. But it's easy to
> reproduce when server has other traffic.
I did not check your logs carefully, but I believe that (when things
Thanks Alex, this is very helpful.
Another interesting fact is that I can't reproduce this issue if squid has
no other traffic except my testing requests. But it's easy to reproduce
when server has other traffic.
The problem is that with other traffic I can't provide the whole log file
with debug
On 11/27/2017 05:19 PM, Ivan Larionov wrote:
> I see retries only when squid config has 2 parents. If I comment out
> everything related to "newproxy" I can't reproduce this behavior anymore.
The posted logs are not detailed enough to confirm or deny that IMO, but
I suspect that you are dealing w
I think I found part of the config which triggers the retry.
==
# Check for newproxy request header
acl newproxy_acl req_header x-use-newproxy -i true
# proxy
cache_peer 127.0.0.1 parent 18070 0 no-query no-digest no-netdb-exchange
name=proxy
cache_peer_access proxy deny newproxy_acl
# newp
On 24/11/17 10:03, Ivan Larionov wrote:
On Nov 23, 2017, at 12:32 AM, Amos Jeffries wrote:
On 23/11/17 14:20, Ivan Larionov wrote:
Hello.
We have an issue with squid when it tries to re-forward / retry failed request
even when forward_max_tries is set to 1. The situation when it happens is
>
> On Nov 23, 2017, at 12:32 AM, Amos Jeffries wrote:
>
> On 23/11/17 14:20, Ivan Larionov wrote:
>> Hello.
>> We have an issue with squid when it tries to re-forward / retry failed
>> request even when forward_max_tries is set to 1. The situation when it
>> happens is when there's no respons
On 23/11/17 14:20, Ivan Larionov wrote:
Hello.
We have an issue with squid when it tries to re-forward / retry failed
request even when forward_max_tries is set to 1. The situation when it
happens is when there's no response, parent just closes the connection.
...
It doesn't happen 100% t
Hello.
We have an issue with squid when it tries to re-forward / retry failed
request even when forward_max_tries is set to 1. The situation when it
happens is when there's no response, parent just closes the connection.
Relevant parts of configuration so you understand the architecture:
cache_p