MCPcopy Create free account
hub / github.com/apache/httpd / ap_proxy_valid_balancer_name

Function ap_proxy_valid_balancer_name

modules/proxy/proxy_util.c:1138–1143  ·  view source on GitHub ↗

* verifies that the balancer name conforms to standards. */

Source from the content-addressed store, hash-verified

1136 * verifies that the balancer name conforms to standards.
1137 */
1138PROXY_DECLARE(int) ap_proxy_valid_balancer_name(char *name, int i)
1139{
1140 if (!i)
1141 i = sizeof(BALANCER_PREFIX)-1;
1142 return (!ap_cstr_casecmpn(name, BALANCER_PREFIX, i));
1143}
1144
1145
1146PROXY_DECLARE(proxy_balancer *) ap_proxy_get_balancer(apr_pool_t *p,

Callers 4

add_passFunction · 0.85
set_proxy_paramFunction · 0.85
proxysectionFunction · 0.85

Calls 1

ap_cstr_casecmpnFunction · 0.85

Tested by

no test coverage detected