Commit b83ca006 authored by Sander Striker's avatar Sander Striker
Browse files

* 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
parent 9df18c2e
Loading
Loading
Loading
Loading
+3 −0
Changes for modules/proxy/mod_proxy_ajp.c: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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;
    }