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

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Thu, 16 May 2013 15:03:59 -0600

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.
Received on Thu May 16 2013 - 21:04:07 MDT

This archive was generated by hypermail 2.2.0 : Fri May 17 2013 - 12:00:06 MDT