From: wessels <> Date: Thu, 7 Sep 2000 10:03:37 +0000 (+0000) Subject: DW: X-Git-Tag: SQUID_3_0_PRE1~1861 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=307fb3c4cafba1fe76d27b041d6ec25f64bd0489;p=thirdparty%2Fsquid.git DW: - clientAccessCheck was allowing all proxy requests in accelerator only mode. Looks like confusion with merging patches from some time ago. --- diff --git a/src/client_side.cc b/src/client_side.cc index 7a31aa253f..ba8ad1bbf2 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -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);