Commit b0b4fa53 authored by Mladen Turk's avatar Mladen Turk
Browse files

Do not use reslist if it wasn't created. This fixes cases on prefork with

threads enabled and hmax set.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105480 13f79535-47bb-0310-9956-ffa450edef68
parent f76dad4a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1507,7 +1507,7 @@ PROXY_DECLARE(int) ap_proxy_acquire_connection(const char *proxy_function,
        }
    }
#if APR_HAS_THREADS
    if (worker->hmax) {
    if (worker->hmax && worker->cp->res) {
        rv = apr_reslist_acquire(worker->cp->res, (void **)conn);
    }
    else