]> granicus.if.org Git - apache/commitdiff
mod_proxy_ajp: remove AJP_EBAD_METHOD, it is not used since r1435178
authorJan Kaluža <jkaluza@apache.org>
Wed, 22 Jan 2014 07:40:28 +0000 (07:40 +0000)
committerJan Kaluža <jkaluza@apache.org>
Wed, 22 Jan 2014 07:40:28 +0000 (07:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1560269 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/ajp.h
modules/proxy/mod_proxy_ajp.c

index 814ab0a275ea09c0812a9e5b87698f6fc2077b08..d2d681d662cef008acade3d39e132fbe7cdb0314 100644 (file)
 #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 */
index 02169c42e33182788b9c9ee6b3cc875c707a758d..29c7b6a939b0b53378635c2d0462da038bec1e33 100644 (file)
@@ -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