Commit 3551f5ed authored by Ryan Bloom's avatar Ryan Bloom
Browse files

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 <sterling@covalent.net>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91962 13f79535-47bb-0310-9956-ffa450edef68
parent 2c96bf68
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 = {