Commit 288eb3cd authored by Graham Leggett's avatar Graham Leggett
Browse files

Downstream keepalives in mod_proxy should not kick in if the upstream

client is < HTTP/1.1
PR:
Obtained from:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88754 13f79535-47bb-0310-9956-ffa450edef68
parent 23c61e36
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -738,7 +738,7 @@ int ap_proxy_http_handler(request_rec *r, char *url,
    /* if the connection is < HTTP/1.1, or Connection: close,
     * we close the socket, otherwise we leave it open for KeepAlive support
     */
    if (close) {
    if (close || (r->proto_num < 1001)) {
        apr_socket_close(sock);
	conf->client_socket = NULL;
    }