]> granicus.if.org Git - apache/commitdiff
FTYPE_CONTENT - 1 isn't enough for OLD_WRITE. OLD_WRITE is a special
authorRyan Bloom <rbb@apache.org>
Thu, 15 Nov 2001 04:39:55 +0000 (04:39 +0000)
committerRyan Bloom <rbb@apache.org>
Thu, 15 Nov 2001 04:39:55 +0000 (04:39 +0000)
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 <sterling@covalent.net>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91962 13f79535-47bb-0310-9956-ffa450edef68

server/core.c

index 8b37a810df7947d3ba28aad5e4df4cae83715f91..bf3eee79959f1da1196a38b2ced57d8d4363912b 100644 (file)
@@ -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 = {