[squid-dev] [PATCH] helpers queue update

Amos Jeffries squid3 at treenet.co.nz
Mon Apr 25 19:34:23 UTC 2016


On 24/04/2016 4:26 a.m., Alex Rousskov wrote:
> On 04/23/2016 06:30 AM, Amos Jeffries wrote:
>> This is a hopefully minor update to the helper lookup queueing.
>>
>> It removes the only use of MEM_DLINK_NODE for custom link-list
>> implementation and replaces it all with a std::queue.
>>
>> Also, de-duplicates the *Dequeue() functions by merging them into helper
>> class as a single nextRequest() getter method.
>>
>> This has had some basic testing and seems to work so far. Though I have
>> added one TODO where I think we have some potential for a memory leak
>> and/or hung transactions if helpers are constantly dying but not also
>> killing Squid.
> 
> +1
> 

Applied as trunk rev.14653

Amos


More information about the squid-dev mailing list