]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
If the r->method_number is unknown the r->method
authorMladen Turk <mturk@apache.org>
Mon, 2 Oct 2006 10:24:45 +0000 (10:24 +0000)
committerMladen Turk <mturk@apache.org>
Mon, 2 Oct 2006 10:24:45 +0000 (10:24 +0000)
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

modules/proxy/ajp_header.c

index 4f2773264448ada61f6288d474596c02ab431c10..16802ec45dab2eceb128435deea6b87a98d03d40 100644 (file)
@@ -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;
     }