[PATCH] remove assert(ch->auth_user_request != NULL)

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 26 Oct 2011 18:59:38 +1300

external ACL soemtimes cannot find the credentials in ACL Checklist even
if they are attached to the HTTPRequest object.

This seems to happen when the checklist is created and the line match
started before the credentials are known.

Unless someone knows of a better place to duplicate the credentials
reference from request to checklist. I would like to apply this patch to:

  * locate the %LOGIN value from either place where credentials can be
found,
  * updates the checklist if it was unset,
  * passes '-' to the helper if no credentials at all were given.

Although the earlier logics forcing a lookup means this '-' case should
not happen.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.16
   Beta testers wanted for 3.2.0.13

Received on Wed Oct 26 2011 - 05:59:45 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 26 2011 - 12:00:05 MDT