* modules/proxy/mod_proxy_ajp.c

(proxy_ajp_handler): Log error when a backend connection could not
    be made.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152966 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sander Striker
2005-02-09 00:21:49 +00:00
parent 7b9a0e8388
commit d55cef82b3

View File

@ -429,6 +429,9 @@ static int proxy_ajp_handler(request_rec *r, proxy_worker *worker,
goto cleanup;
/* Step Two: Make the Connection */
if (ap_proxy_connect_backend(scheme, backend, worker, r->server)) {
ap_log_error(APLOG_MARK, APLOG_ERR, 0, r->server,
"proxy: AJP: failed to make connection to backend: %s",
backend->hostname);
status = HTTP_SERVICE_UNAVAILABLE;
goto cleanup;
}