Re: [PATCH] Add auth_param request_format, request_realm to proxy authentication schemes

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 23 Nov 2013 19:08:23 +1300

On 23/11/2013 5:42 a.m., Tsantilas Christos wrote:
> I am sending a new patch which I hope meets the requirements.
>
> It supports only one %key_extras authentication scheme parameter. This
> is just append to the current request line format.

Thank you. Looks much better.

in src/auth/Config.cc:

* Auth::Config::parse
 - please make "key_extras" case-sensitive lower case.
 - several debugs with HERE macro. Please try to avoid that.

 - missing debugs before first use of self_destruct() when
!nlf->parse(keyExtrasLine.termedBuf(). The parser only outputs a
warning, if we are going to call self_destruct we need to output a FATAL
with reason why the simple warning event is killing Squid.

 - debugs before second self_destruct() is missing "FATAL:" prefix.

in src/cf.data.pre

* you define key_extras in a section of parameters common to all auth
schemes. No need to re-define it in the section per-scheme.

Amos
Received on Sat Nov 23 2013 - 06:08:32 MST

This archive was generated by hypermail 2.2.0 : Mon Nov 25 2013 - 12:00:11 MST