From: Jan Kaluža Date: Wed, 22 Jan 2014 07:40:28 +0000 (+0000) Subject: mod_proxy_ajp: remove AJP_EBAD_METHOD, it is not used since r1435178 X-Git-Tag: 2.5.0-alpha~4628 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d473bfd8f27c762f2125d91b0055f29c520b17f;p=apache mod_proxy_ajp: remove AJP_EBAD_METHOD, it is not used since r1435178 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1560269 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/ajp.h b/modules/proxy/ajp.h index 814ab0a275..d2d681d662 100644 --- a/modules/proxy/ajp.h +++ b/modules/proxy/ajp.h @@ -100,8 +100,6 @@ #define AJP_EBAD_MESSAGE (APR_OS_START_USERERR + 8) /** Cant log via AJP14 */ #define AJP_ELOGFAIL (APR_OS_START_USERERR + 9) -/** Bad request method */ -#define AJP_EBAD_METHOD (APR_OS_START_USERERR + 10) /** A structure that represents ajp message */ diff --git a/modules/proxy/mod_proxy_ajp.c b/modules/proxy/mod_proxy_ajp.c index 02169c42e3..29c7b6a939 100644 --- a/modules/proxy/mod_proxy_ajp.c +++ b/modules/proxy/mod_proxy_ajp.c @@ -219,9 +219,7 @@ static int ap_proxy_ajp_request(apr_pool_t *p, request_rec *r, conn->worker->s->hostname); if (status == AJP_EOVERFLOW) return HTTP_BAD_REQUEST; - else if (status == AJP_EBAD_METHOD) { - return HTTP_NOT_IMPLEMENTED; - } else { + else { /* * This is only non fatal when the method is idempotent. In this * case we can dare to retry it with a different worker if we are