(Sory for the delay).
On 5/23/06, Henrik Nordstrom <[EMAIL PROTECTED]> wrote:
tis 2006-05-23 klockan 11:08 -0300 skrev Gonzalo Arana:
> I would like to have a somehwat explicit cache level. Alternatives to this
is:
> a) expand %| to some string: discarded.
> b) helper tells squid about format specification & cache levels upon startup.
> c) squid notifies helper at startup about format & cache levels. If
> there is any inconsistency, helper can notify admin.
>
> I prefer "b", but "c" sounds good as well.
So lets explore "b".
My initial thought was to have a standard command line argument making
the helper print it's request format definition if none is specified in
external_acl_type.
Sounds good for me.
And what about the initial message sent by the helper? I was thinking
in something like this:
format-line
cache-level-1-spec
cache-level-2-spec
...
cache-level-N-spec
empty_line
(obviously, all tags used in cache level specs must also be present in
'format-line').
Regards,
--
Gonzalo A. Arana