Search squid archive

Re: squid 3.2.7 + icap + request_header_access - not working as expected under some circumstances (bug?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/15/2013 08:47 PM, Amos Jeffries wrote:
> On 16/05/2013 5:14 a.m., Alex Rousskov wrote:
>> On 05/15/2013 07:41 AM, Amos Jeffries wrote:
>>> On 16/05/2013 1:06 a.m., Martin Sperl wrote:
>>>> Hi!
>>>>
>>>> We came across a strange "bug" in squid in regards to icap and
>>>> request_header access.
>>> It is a bug alright. Header names are supposed to be case-insensitive.
>> The attached patches fix this bug in Squid v3.2 and trunk.
>>
>> Disclaimers: I only tested the trunk patch. I do not think this is
>> related to ICAP (the bug affects all Squid configurations that use
>> header_access directives).
>>
>>
>> HTH,
>>
>> Alex.
>>
> 
> "NoCaseLess" seems a very weird thing to call the insensitive comparator
> - you may want to rethink that. But +1 anyway.

It is a "less" operator that disregards case. IIRC similar names are
quite common in this context (because "CaseInsensitive" is too long and
"iCase" may remind folks of a certain product line). I added "Than" to
clarify: NoCaseLessThan but feel free to rename.

Committed to trunk as r12828.


Thank you,

Alex.





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux