Commit 14bb7a29 authored by Jean-Frederic Clere's avatar Jean-Frederic Clere
Browse files

Fix for JBCS-390.

Note it is related to PR  59007



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1807318 13f79535-47bb-0310-9956-ffa450edef68
parent b4f1d281
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -1556,13 +1556,16 @@ int ap_proxy_http_process_response(apr_pool_t * p, request_rec *r,

        if (ap_is_HTTP_INFO(proxy_status)) {
            interim_response++;
            /* Reset to old timeout iff we've adjusted it */
            if (do_100_continue
                && (r->status == HTTP_CONTINUE)
                && (worker->s->ping_timeout != old_timeout)) {
                && (r->status == HTTP_CONTINUE)) {
                /* Done with the 100 continue */
                do_100_continue = 0;
                /* Reset to old timeout if we've adjusted it */
                if  (worker->s->ping_timeout != old_timeout) {
                    apr_socket_timeout_set(backend->sock, old_timeout);
                }
            }
        }
        else {
            interim_response = 0;
        }