| 4320 | } |
| 4321 | |
| 4322 | PROXY_DECLARE(apr_status_t) ap_proxy_set_wstatus(char c, int set, proxy_worker *w) |
| 4323 | { |
| 4324 | unsigned int *status = &w->s->status; |
| 4325 | char flag = toupper(c); |
| 4326 | proxy_wstat_t *pwt = proxy_wstat_tbl; |
| 4327 | while (pwt->bit) { |
| 4328 | if (flag == pwt->flag) { |
| 4329 | if (set) |
| 4330 | *status |= pwt->bit; |
| 4331 | else |
| 4332 | *status &= ~(pwt->bit); |
| 4333 | return APR_SUCCESS; |
| 4334 | } |
| 4335 | pwt++; |
| 4336 | } |
| 4337 | return APR_EINVAL; |
| 4338 | } |
| 4339 | |
| 4340 | PROXY_DECLARE(char *) ap_proxy_parse_wstatus(apr_pool_t *p, proxy_worker *w) |
| 4341 | { |
no outgoing calls
no test coverage detected