From c01a01ea01b70056dc0f48b87408e58e17f131f8 Mon Sep 17 00:00:00 2001 From: hno <> Date: Wed, 24 Oct 2001 08:25:08 +0000 Subject: [PATCH] Don't consider PURGE as proxy requests when running as a accelerator, but allow these to be processed as normal. --- src/client_side.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.47.3