mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user