From: Ryan Bloom Date: Thu, 15 Nov 2001 04:39:55 +0000 (+0000) Subject: FTYPE_CONTENT - 1 isn't enough for OLD_WRITE. OLD_WRITE is a special X-Git-Tag: 2.0.29~126 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=137a02bb3bd3b33e8ec35ea2ecee28e6d4297d06;p=thirdparty%2Fapache%2Fhttpd.git FTYPE_CONTENT - 1 isn't enough for OLD_WRITE. OLD_WRITE is a special filter, and it MUST run absolutely first. To allow other filters a little space to manuver, I am moving this to FTYPE_CONTENT - 10. Submitted by: John Sterling git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91962 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/core.c b/server/core.c index 8b37a810df7..bf3eee79959 100644 --- a/server/core.c +++ b/server/core.c @@ -3359,7 +3359,7 @@ static void register_hooks(apr_pool_t *p) ap_register_output_filter("SUBREQ_CORE", ap_sub_req_output_filter, AP_FTYPE_CONTENT); ap_old_write_func = ap_register_output_filter("OLD_WRITE", - ap_old_write_filter, AP_FTYPE_CONTENT - 1); + ap_old_write_filter, AP_FTYPE_CONTENT - 10); } AP_DECLARE_DATA module core_module = {