From 735823b3966d500b603f5bbb5405e975759944ee Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Mon, 8 Dec 2008 00:22:07 +1300 Subject: [PATCH] Identify where unknown method requests come from --- src/client_side.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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? */ -- 2.47.2