1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

[mod_proxy_]http: follow up to r1750392.

Export [ap_]check_pipeline() and use it also for ap_proxy_check_connection().

[Reverted by r1756065]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1756060 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yann Ylavic
2016-08-11 22:32:42 +00:00
parent d79b514c4b
commit 2023d56eea
8 changed files with 127 additions and 88 deletions

View File

@@ -2068,9 +2068,10 @@ static int proxy_http_handler(request_rec *r, proxy_worker *worker,
}
/* Step Two: Make the Connection */
if (ap_proxy_check_backend(proxy_function, backend, r->server, 1) &&
ap_proxy_connect_backend(proxy_function, backend, worker,
r->server)) {
if (ap_proxy_check_connection(proxy_function, backend, r->server, 1,
PROXY_CHECK_CONN_EMPTY)
&& ap_proxy_connect_backend(proxy_function, backend, worker,
r->server)) {
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(01114)
"HTTP: failed to make connection to backend: %s",
backend->hostname);