From 4b36695126263f1d17749ebf1066d941dacac3cb Mon Sep 17 00:00:00 2001 From: Stefan Fritsch Date: Mon, 4 Feb 2013 19:56:39 +0000 Subject: [PATCH] Don't keepalive the connection to the client if the backend closes the connection. PR: 54474 Submitted by: Pavel Mateja git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1442320 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 3 +++ modules/proxy/mod_proxy_connect.c | 1 + 2 files changed, 4 insertions(+) diff --git a/CHANGES b/CHANGES index f1375a7d0b..b7c0cbc7b9 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,9 @@ -*- coding: utf-8 -*- Changes with Apache 2.5.0 + *) mod_proxy_connect: Don't keepalive the connection to the client if the + backend closes the connection. PR 54474. [Pavel Mateja ] + *) core: Add option to add valgrind suport. Use it to reduce false positive warnings in mod_ssl. [Stefan Fritsch] diff --git a/modules/proxy/mod_proxy_connect.c b/modules/proxy/mod_proxy_connect.c index 0d008c68e6..c84f75b417 100644 --- a/modules/proxy/mod_proxy_connect.c +++ b/modules/proxy/mod_proxy_connect.c @@ -487,6 +487,7 @@ static int proxy_connect_handler(request_rec *r, proxy_worker *worker, ap_lingering_close(backconn); c->aborted = 1; + c->keepalive = AP_CONN_CLOSE; return OK; } -- 2.40.0