diff options
author | Yann Ylavic <ylavic@apache.org> | 2018-07-31 10:50:18 +0000 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2018-07-31 10:50:18 +0000 |
commit | 687e1d8dab207588f413576173ccd08cb72c237a (patch) | |
tree | c08fb7bbcc31660a3abd25c258a4d436ae68d491 /server | |
parent | 352e0faebcdcaf8fc8bb79d30cbd2fe0a34962dd (diff) | |
download | httpd-687e1d8dab207588f413576173ccd08cb72c237a.tar.gz |
core: set ap_request_core_filter() last.
Since it may retain data and should run after other "request" filters, use
the last possible position for a "request" filter: AP_FTYPE_CONNECTION - 1.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1837131 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server')
-rw-r--r-- | server/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/core.c b/server/core.c index 7fc2c35ec0..ffaa647f4b 100644 --- a/server/core.c +++ b/server/core.c @@ -5872,7 +5872,7 @@ static void register_hooks(apr_pool_t *p) NULL, AP_FTYPE_NETWORK); ap_request_core_filter_handle = ap_register_output_filter("REQ_CORE", ap_request_core_filter, - NULL, AP_FTYPE_TRANSCODE); + NULL, AP_FTYPE_CONNECTION - 1); ap_subreq_core_filter_handle = ap_register_output_filter("SUBREQ_CORE", ap_sub_req_output_filter, NULL, AP_FTYPE_CONTENT_SET); |