File apache2-CVE-2020-13950.patch of Package apache2.21266

Index: httpd-2.4.43/modules/proxy/mod_proxy_http.c
===================================================================
--- httpd-2.4.43.orig/modules/proxy/mod_proxy_http.c	2020-03-12 03:03:17.000000000 +0100
+++ httpd-2.4.43/modules/proxy/mod_proxy_http.c	2021-06-09 14:13:22.972862809 +0200
@@ -569,7 +569,6 @@ static int ap_proxy_http_prefetch(proxy_
     apr_off_t bytes;
     int force10, rv;
     apr_read_type_e block;
-    conn_rec *origin = p_conn->connection;
 
     if (apr_table_get(r->subprocess_env, "force-proxy-request-1.0")) {
         if (req->expecting_100) {
@@ -629,7 +628,6 @@ static int ap_proxy_http_prefetch(proxy_
                       "chunked body with Content-Length (C-L ignored)",
                       c->client_ip, c->remote_host ? c->remote_host: "");
         req->old_cl_val = NULL;
-        origin->keepalive = AP_CONN_CLOSE;
         p_conn->close = 1;
     }
 
openSUSE Build Service is sponsored by