From: Yann Ylavic Date: Tue, 26 Jul 2016 17:16:18 +0000 (+0000) Subject: mod_proxy_http: ping retry only if full 100-continue conditions are met. X-Git-Tag: 2.5.0-alpha~1377 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=73c941d869de81cd6904ae5e408fdf8341459ec4;p=thirdparty%2Fapache%2Fhttpd.git mod_proxy_http: ping retry only if full 100-continue conditions are met. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1754159 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_http.c b/modules/proxy/mod_proxy_http.c index 2519888d567..edcccdfb5aa 100644 --- a/modules/proxy/mod_proxy_http.c +++ b/modules/proxy/mod_proxy_http.c @@ -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)",