From 7fa4862380495677a1d6e2f5bf4ff5e0ab8137d1 Mon Sep 17 00:00:00 2001 From: Jean-Frederic Clere Date: Thu, 8 Sep 2011 07:45:40 +0000 Subject: [PATCH] AJP_EBAD_METHOD is also a bad request so return HTTP_BAD_REQUEST git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1166551 13f79535-47bb-0310-9956-ffa450edef68 --- modules/proxy/mod_proxy_ajp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/proxy/mod_proxy_ajp.c b/modules/proxy/mod_proxy_ajp.c index 12cb6fc605..2d4661d4c5 100644 --- a/modules/proxy/mod_proxy_ajp.c +++ b/modules/proxy/mod_proxy_ajp.c @@ -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 { /* -- 2.40.0