| 228 | return 1; |
| 229 | } |
| 230 | static apr_table_t *ap_proxy_clean_warnings(apr_pool_t *p, apr_table_t *headers) |
| 231 | { |
| 232 | header_dptr x; |
| 233 | x.pool = p; |
| 234 | x.table = NULL; |
| 235 | x.time = apr_date_parse_http(apr_table_get(headers, "Date")); |
| 236 | apr_table_do(clean_warning_headers, &x, headers, "Warning", NULL); |
| 237 | if (x.table != NULL) { |
| 238 | apr_table_unset(headers, "Warning"); |
| 239 | return apr_table_overlay(p, headers, x.table); |
| 240 | } |
| 241 | else { |
| 242 | return headers; |
| 243 | } |
| 244 | } |
| 245 | |
| 246 | static void add_te_chunked(apr_pool_t *p, |
| 247 | apr_bucket_alloc_t *bucket_alloc, |
no outgoing calls
no test coverage detected