You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2023/01/10 13:20:55 UTC

svn commit: r1906542 - in /httpd/httpd/branches/2.4.x: ./ modules/proxy/mod_proxy_ajp.c

Author: covener
Date: Tue Jan 10 13:20:55 2023
New Revision: 1906542

URL: http://svn.apache.org/viewvc?rev=1906542&view=rev
Log:
Merge r1906540 from trunk:

cleanup on error


Reviewed By: rpluem, gbechis, covener

Modified:
    httpd/httpd/branches/2.4.x/   (props changed)
    httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_ajp.c

Propchange: httpd/httpd/branches/2.4.x/
------------------------------------------------------------------------------
  Merged /httpd/httpd/trunk:r1906540

Modified: httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_ajp.c
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_ajp.c?rev=1906542&r1=1906541&r2=1906542&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_ajp.c (original)
+++ httpd/httpd/branches/2.4.x/modules/proxy/mod_proxy_ajp.c Tue Jan 10 13:20:55 2023
@@ -257,6 +257,8 @@ static int ap_proxy_ajp_request(apr_pool
             ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(10396)
                           "%s Transfer-Encoding is not supported",
                           tenc);
+            /* We had a failure: Close connection to backend */
+            conn->close = 1;
             return HTTP_INTERNAL_SERVER_ERROR;
         }
     } else {