mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Use identifying server_rec info when we know we have
unique and useful data :) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1387444 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1167,6 +1167,10 @@ PROXY_DECLARE(char *) ap_proxy_define_balancer(apr_pool_t *p,
|
||||
if (PROXY_STRNCPY(bshared->name, uri) != APR_SUCCESS) {
|
||||
return apr_psprintf(p, "balancer name (%s) too long", uri);
|
||||
}
|
||||
/*
|
||||
* We do the below for verification. The real sname will be
|
||||
* done post_config
|
||||
*/
|
||||
ap_pstr2_alnum(p, bshared->name + sizeof(BALANCER_PREFIX) - 1,
|
||||
&sname);
|
||||
sname = apr_pstrcat(p, conf->id, "_", sname, NULL);
|
||||
|
Reference in New Issue
Block a user