Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 64B99200CFA for ; Tue, 5 Sep 2017 09:27:39 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 634E2165688; Tue, 5 Sep 2017 07:27:39 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D0D6A165681 for ; Tue, 5 Sep 2017 09:27:38 +0200 (CEST) Received: (qmail 26563 invoked by uid 500); 5 Sep 2017 07:27:38 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 26553 invoked by uid 99); 5 Sep 2017 07:27:37 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Sep 2017 07:27:37 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 94B4B3A00A7 for ; Tue, 5 Sep 2017 07:27:36 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1807318 - /httpd/httpd/trunk/modules/proxy/mod_proxy_http.c Date: Tue, 05 Sep 2017 07:27:34 -0000 To: cvs@httpd.apache.org From: jfclere@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20170905072736.94B4B3A00A7@svn01-us-west.apache.org> archived-at: Tue, 05 Sep 2017 07:27:39 -0000 Author: jfclere Date: Tue Sep 5 07:27:33 2017 New Revision: 1807318 URL: http://svn.apache.org/viewvc?rev=1807318&view=rev Log: Fix for JBCS-390. Note it is related to PR 59007 Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_http.c Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_http.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_http.c?rev=1807318&r1=1807317&r2=1807318&view=diff ============================================================================== --- httpd/httpd/trunk/modules/proxy/mod_proxy_http.c (original) +++ httpd/httpd/trunk/modules/proxy/mod_proxy_http.c Tue Sep 5 07:27:33 2017 @@ -1556,11 +1556,14 @@ int ap_proxy_http_process_response(apr_p 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 {