[squid-dev] [PATCH] Fake CONNECT exceeds concurrent requests limit

Tsantilas Christos chtsanti at users.sourceforge.net
Wed Feb 25 15:54:21 UTC 2015


Applied to trunk as revno 13948.

On 02/25/2015 06:00 AM, Amos Jeffries wrote:
> On 2015-02-25 10:02, Tsantilas Christos wrote:
>> Squid closes the SSL client connection with "Failed to start fake
>> CONNECT  request for ssl spliced connection". This happens especially
>> often when the pipeline_prefetch configuration parameter is set to "0"
>> (i.e., default).
>>
>> When a transparent SSL connection is peeked and then spliced in step2,
>> we are generating a fake CONNECT request. The fake CONNECT request is
>> counted as a new pipelined request and may exceed the configured
>> limit. This patch solves this problem by raising the limit for that
>> request.
>>
>> Needs more work to better identify the requests that need a different
>> limit.
>>
>> This is a Measurement Factory project.
>>
>
>
> +1. Okay as a temporary measure.
>
> And yes we do need to work on a long term fix. Perhapse by setting a
> default pipeline_length matching what other HTTP/1.1 software is using.
>
> Amos
> _______________________________________________
> squid-dev mailing list
> squid-dev at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-dev



More information about the squid-dev mailing list