From: Mladen Turk Date: Mon, 2 Oct 2006 10:24:45 +0000 (+0000) Subject: If the r->method_number is unknown the r->method X-Git-Tag: 2.3.0~2102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0102152486ec7211aba83b29e7aaf3e6c68af437;p=thirdparty%2Fapache%2Fhttpd.git If the r->method_number is unknown the r->method is unknown or corrupted as well. Log the method number that was not recognized. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@451951 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/ajp_header.c b/modules/proxy/ajp_header.c index 4f277326444..16802ec45da 100644 --- a/modules/proxy/ajp_header.c +++ b/modules/proxy/ajp_header.c @@ -220,8 +220,8 @@ static apr_status_t ajp_marshal_into_msgb(ajp_msg_t *msg, if ((method = sc_for_req_method_by_id(r->method_number)) == UNKNOWN_METHOD) { ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server, - "ajp_marshal_into_msgb - No such method %s", - r->method); + "ajp_marshal_into_msgb - No such method number %s", + r->method_number); return AJP_EBAD_METHOD; }