Re: [MERGE] Clean up htcp cache_peer options collapsing them into a single option with arguments

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Mon, 23 Aug 2010 15:28:23 -0600

On 08/22/2010 07:17 AM, Amos Jeffries wrote:
> Henrik Nordstrom wrote:
>> the list of HTCP mode options had grown a bit too large. Collapse them
>> all into a single htcp= option taking a list of mode flags.
>>
>
> Updated version of Henriks patch. (why did it not get committed last
> year when approved?)
>
> * parser bug fixed to handle a list of exactly one parameter without
> trailing comma (which the original would call bungled).
>
> * special parse case for htcp-oldsquid fully combined with new parser.
>
> * alters the cachemgr config dump to show the new syntax.
>
> Other than parse no operational changes. Fully backward-compatible and
> tested.

This is not an objection to the patch, but if the various htcp-foo
options set combine-able flags rather than a single "htcp" value, then
please consider using "htcp::flag" namespace syntax instead of the
"htcp=flag" assignment syntax.

Thank you,

Alex.
Received on Mon Aug 23 2010 - 21:28:26 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 24 2010 - 12:00:05 MDT