From: Amos Jeffries Date: Sun, 7 Dec 2008 11:22:07 +0000 (+1300) Subject: Identify where unknown method requests come from X-Git-Tag: SQUID_3_0_STABLE11~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=735823b3966d500b603f5bbb5405e975759944ee;p=thirdparty%2Fsquid.git Identify where unknown method requests come from --- diff --git a/src/client_side.cc b/src/client_side.cc index 3ca6c20f53..0d6cb0cf4d 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1900,7 +1900,7 @@ parseHttpRequest(ConnStateData::Pointer & conn, HttpParser *hp, method_t * metho garbage[i] = ((hp->buf[i] < ' ' || hp->buf[i] > '~' )? '_': hp->buf[i]); /* XXX need a way to say "this many character length string" */ - debugs(33, 1, "clientParseRequestMethod: Unsupported method: This is not a bug. see squid.conf extension_methods"); + debugs(33, 1, "clientParseRequestMethod: Unsupported method attempted by " << inet_ntoa(conn->peer) << ": This is not a bug. see squid.conf extension_methods"); debugs(33, 1, "clientParseRequestMethod: Unsupported method in request '" << garbage << "'"); /* XXX where's the method set for this error? */