MCPcopy Index your code
hub / github.com/apache/httpd / ap_proxy_parse_wstatus

Function ap_proxy_parse_wstatus

modules/proxy/proxy_util.c:4340–4356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4338}
4339
4340PROXY_DECLARE(char *) ap_proxy_parse_wstatus(apr_pool_t *p, proxy_worker *w)
4341{
4342 char *ret = "";
4343 unsigned int status = w->s->status;
4344 proxy_wstat_t *pwt = proxy_wstat_tbl;
4345 while (pwt->bit) {
4346 if (status & pwt->bit)
4347 ret = apr_pstrcat(p, ret, pwt->name, NULL);
4348 pwt++;
4349 }
4350 if (!*ret) {
4351 ret = "??? ";
4352 }
4353 if (PROXY_WORKER_IS_USABLE(w))
4354 ret = apr_pstrcat(p, ret, "Ok ", NULL);
4355 return ret;
4356}
4357
4358PROXY_DECLARE(apr_status_t) ap_proxy_sync_balancer(proxy_balancer *b, server_rec *s,
4359 proxy_server_conf *conf)

Callers 3

mod_proxy.hFile · 0.85
proxy_status_hookFunction · 0.85
balancer_display_pageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected