Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > 2ecc1f71865a53cdac1cdca1b8b8cad2 > files > 44

apache-2.2.17-5.6.mga1.src.rpm

--- httpd-2.2.17/modules/proxy/mod_proxy_ajp.c	2010-08-25 16:16:25.000000000 +0200
+++ httpd-2.2.17/modules/proxy/mod_proxy_ajp.c.fix_ajp_proxy_response	2011-12-15 23:25:48.368444945 +0100
@@ -213,6 +213,8 @@
                      conn->worker->hostname);
         if (status == AJP_EOVERFLOW)
             return HTTP_BAD_REQUEST;
+	else if (status == AJP_EBAD_METHOD)
+	    return HTTP_NOT_IMPLEMENTED;
         else {
             /*
              * This is only non fatal when the method is idempotent. In this