mirror of
https://github.com/apache/httpd.git
synced 2026-01-06 09:01:14 +03:00
check that we have a pool...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1531971 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1498,7 +1498,11 @@ PROXY_DECLARE(char *) ap_proxy_worker_name(apr_pool_t *p,
|
||||
}
|
||||
if (!pool) {
|
||||
/* ugly */
|
||||
apr_pool_create(&pool, NULL);
|
||||
apr_pool_create(&pool, ap_server_conf->process->pool);
|
||||
if (!pool) {
|
||||
/* something is better than nothing :) */
|
||||
return worker->s->name;
|
||||
}
|
||||
}
|
||||
rv = apr_uri_parse(pool, worker->s->name, &uri);
|
||||
if (rv != APR_SUCCESS) {
|
||||
|
||||
Reference in New Issue
Block a user