Re: Squid 2.5 patch

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 31 Mar 2003 17:02:09 +0200

Hmm.. doesn't deny_info already provide the same function as this patch?

Also, what is the purpose of this part of the patch? From what I can
tell this will never be the case..

@@ -1415,6 +1416,10 @@
     /* get authed here */
     /* Note: this fills in checklist->auth_user_request when applicable
*/
     switch
(authenticateTryToAuthenticateAndSetAuthUser(&checklist->auth_user_request, headertype, checklist->request, checklist->conn, checklist->src_addr)) {
+ case AUTH_ACL_USER_ALREADY_IN_USE:
+ debug(28, 4) ("aclMatchAcl: user already in use.\n");
+ checklist->state[ACL_PROXY_AUTH] = ACL_USER_ALREADY_IN_USE;
+ return 0;
     case AUTH_ACL_CANNOT_AUTHENTICATE:
         debug(28, 4) ("aclMatchAcl: returning 0 user authenticated but not
authorised.\n");
         return 0;

Regards
Henrik

mån 2003-03-31 klockan 14.22 skrev Pedro Lineu Orso:
> Hi Henrik,
>
> Greetings from Brazil.
>
> I make a patch for squid-2.5.STABLE2-20030331 that shows this message
> to the user when using strict mode acl:
>
> ERROR
> User already in use.
>
> --------------------------------------------------------------------------------
>
>
> User already in use. Please try again later
>
>
> --------------------------------------------------------------------------------
>
> Generated Mon, 31 Mar 2003 12:21:45 GMT by pop.hsbc.com.br (squid/2.5.STABLE2-20030327)
>
> Could you please implement in the source code ?
>
> Thank you.
>
> Pedro Lineu Orso
> Brazil

-- 
Henrik Nordstrom <hno@squid-cache.org>
MARA Systems AB, Sweden

Received on Mon Mar 31 2003 - 08:02:42 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:35 MST