]> granicus.if.org Git - apache/commitdiff
AJP_EBAD_METHOD is also a bad request so return HTTP_BAD_REQUEST
authorJean-Frederic Clere <jfclere@apache.org>
Thu, 8 Sep 2011 07:45:40 +0000 (07:45 +0000)
committerJean-Frederic Clere <jfclere@apache.org>
Thu, 8 Sep 2011 07:45:40 +0000 (07:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1166551 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_ajp.c

index 12cb6fc605de97cee20b3c97bd19d3a5a2fc5391..2d4661d4c53f5869b402a1cdddea56c40f3d4782 100644 (file)
@@ -214,7 +214,7 @@ static int ap_proxy_ajp_request(apr_pool_t *p, request_rec *r,
                      "proxy: AJP: request failed to %pI (%s)",
                      conn->worker->cp->addr,
                      conn->worker->s->hostname);
-        if (status == AJP_EOVERFLOW)
+        if (status == AJP_EOVERFLOW || status == AJP_EBAD_METHOD)
             return HTTP_BAD_REQUEST;
         else {
             /*