| 931 | return DECLINED; |
| 932 | } |
| 933 | static apr_status_t ap_headers_early(request_rec *r) |
| 934 | { |
| 935 | headers_conf *dirconf = ap_get_module_config(r->per_dir_config, |
| 936 | &headers_module); |
| 937 | |
| 938 | /* do the fixup */ |
| 939 | if (dirconf->fixup_in->nelts) { |
| 940 | if (!do_headers_fixup(r, r->headers_in, dirconf->fixup_in, 1)) |
| 941 | goto err; |
| 942 | } |
| 943 | if (dirconf->fixup_err->nelts) { |
| 944 | if (!do_headers_fixup(r, r->err_headers_out, dirconf->fixup_err, 1)) |
| 945 | goto err; |
| 946 | } |
| 947 | if (dirconf->fixup_out->nelts) { |
| 948 | if (!do_headers_fixup(r, r->headers_out, dirconf->fixup_out, 1)) |
| 949 | goto err; |
| 950 | } |
| 951 | |
| 952 | return DECLINED; |
| 953 | err: |
| 954 | ap_log_rerror(APLOG_MARK, APLOG_CRIT, 0, r, APLOGNO(01504) |
| 955 | "Regular expression replacement failed (replacement too long?)"); |
| 956 | return HTTP_INTERNAL_SERVER_ERROR; |
| 957 | } |
| 958 | |
| 959 | static const command_rec headers_cmds[] = |
| 960 | { |
nothing calls this directly
no test coverage detected