| 4338 | } |
| 4339 | |
| 4340 | PROXY_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 | |
| 4358 | PROXY_DECLARE(apr_status_t) ap_proxy_sync_balancer(proxy_balancer *b, server_rec *s, |
| 4359 | proxy_server_conf *conf) |
no outgoing calls
no test coverage detected