From: Alex Rousskov Date: Wed, 2 Jan 2013 18:50:24 +0000 (-0700) Subject: Fixed SMP cache mgr request handling. X-Git-Tag: SQUID_3_4_0_1~397 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1a254b71662fe79bc906d0ab2e7fd87c526fe7b;p=thirdparty%2Fsquid.git Fixed SMP cache mgr request handling. Coordinator could not successfully parse any SMP cache manager request since r12410 "Polish: Http::MethodType upgrade" because the parsing code assumed the presence of the request method ID field that was no longer added by the request packing code. --- diff --git a/src/mgr/ActionParams.cc b/src/mgr/ActionParams.cc index 75d48aed4b..fa71307f24 100644 --- a/src/mgr/ActionParams.cc +++ b/src/mgr/ActionParams.cc @@ -16,8 +16,6 @@ Mgr::ActionParams::ActionParams(const Ipc::TypedMsgHdr &msg) { msg.getString(httpUri); - const int m = msg.getInt(); - Must(Http::METHOD_NONE <= m && m < Http::METHOD_ENUM_END); String method; msg.getString(method); httpMethod = HttpRequestMethod(method.termedBuf(), NULL);