]> granicus.if.org Git - apache/commitdiff
mod_proxy_http: ping retry only if full 100-continue conditions are met.
authorYann Ylavic <ylavic@apache.org>
Tue, 26 Jul 2016 17:16:18 +0000 (17:16 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 26 Jul 2016 17:16:18 +0000 (17:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1754159 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_http.c

index 2519888d5678356e976250c1a8f584c5a1b7bc26..edcccdfb5aa26cb3f5de8d8d434ef70df90fb6fb 100644 (file)
@@ -2115,7 +2115,7 @@ static int proxy_http_handler(request_rec *r, proxy_worker *worker,
                                             flushall)) != OK) {
             proxy_run_detach_backend(r, backend);
             if ((status == HTTP_SERVICE_UNAVAILABLE) &&
-                    worker->s->ping_timeout_set) {
+                    PROXY_DO_100_CONTINUE(worker, r)) {
                 backend->close = 1;
                 ap_log_rerror(APLOG_MARK, APLOG_INFO, status, r, APLOGNO(01115)
                               "HTTP: 100-Continue failed to %pI (%s)",