]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Don't consider PURGE as proxy requests when running as a accelerator, but
authorhno <>
Wed, 24 Oct 2001 08:25:08 +0000 (08:25 +0000)
committerhno <>
Wed, 24 Oct 2001 08:25:08 +0000 (08:25 +0000)
allow these to be processed as normal.

src/client_side.cc

index e5f9169dd7b0e5aca48fdf2bb5878ff06182c79e..3f597985a1d7d5995fea871b12f1e9b7b834e214 100644 (file)
@@ -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;
 }