From: hno <> Date: Wed, 24 Oct 2001 08:25:08 +0000 (+0000) Subject: Don't consider PURGE as proxy requests when running as a accelerator, but X-Git-Tag: SQUID_3_0_PRE1~1326 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c01a01ea01b70056dc0f48b87408e58e17f131f8;p=thirdparty%2Fsquid.git Don't consider PURGE as proxy requests when running as a accelerator, but allow these to be processed as normal. --- diff --git a/src/client_side.cc b/src/client_side.cc index e5f9169dd7..3f597985a1 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.551 2001/10/23 11:05:16 hno Exp $ + * $Id: client_side.cc,v 1.552 2001/10/24 02:25:08 hno Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -131,6 +131,8 @@ checkAccelOnly(clientHttpRequest * http) return 0; if (http->flags.accel) return 0; + if (http->request->method == METHOD_PURGE) + return 0; return 1; }