]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
DW:
authorwessels <>
Thu, 7 Sep 2000 10:03:37 +0000 (10:03 +0000)
committerwessels <>
Thu, 7 Sep 2000 10:03:37 +0000 (10:03 +0000)
 - clientAccessCheck was allowing all proxy requests in accelerator
   only mode.  Looks like confusion with merging patches from
   some time ago.

src/client_side.cc

index 7a31aa253f6ca3aeb22f939b1a0077e0c8717289..ba8ad1bbf21d53daafc1cfa3f039c9e7c3bba1fd 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: client_side.cc,v 1.496 2000/08/03 21:27:54 hno Exp $
+ * $Id: client_side.cc,v 1.497 2000/09/07 04:03:37 wessels Exp $
  *
  * DEBUG: section 33    Client-side Routines
  * AUTHOR: Duane Wessels
@@ -166,7 +166,8 @@ clientAccessCheck(void *data)
 {
     clientHttpRequest *http = data;
     if (checkAccelOnly(http)) {
-       clientAccessCheckDone(ACCESS_ALLOWED, http);
+       /* deny proxy requests in accel_only mode */
+       clientAccessCheckDone(ACCESS_DENIED, http);
        return;
     }
     http->acl_checklist = clientAclChecklistCreate(Config.accessList.http, http);