From 576a57d4ee7111c638f74876c9449a9a3e46a471 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Wed, 14 Dec 2005 05:11:07 +0000 Subject: [PATCH] Don't print a Warning about OPTIONS reply method mismatch if the OPTIONS reply doesn't have a Methods header. --- src/ICAP/ICAPServiceRep.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ICAP/ICAPServiceRep.cc b/src/ICAP/ICAPServiceRep.cc index c2d38dc7bb..72a1ed514b 100644 --- a/src/ICAP/ICAPServiceRep.cc +++ b/src/ICAP/ICAPServiceRep.cc @@ -287,7 +287,7 @@ void ICAPServiceRep::changeOptions(ICAPOptions *newOptions) * then discovered the method via OPTIONS */ - if (theOptions->method != method) + if (theOptions->method != method && theOptions->method != ICAP::methodNone) debugs(93,1, "WARNING: Squid is configured to use ICAP method " << ICAP::methodStr(method) << " for service " << uri.buf() << " but OPTIONS response declares the method is " << ICAP::methodStr(theOptions->method)); -- 2.47.3