httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48316] New: ap_run_insert_filter doesn't work in cache_url_handler
Date Tue, 01 Dec 2009 11:14:23 GMT

           Summary: ap_run_insert_filter doesn't work in cache_url_handler
           Product: Apache httpd-2
           Version: 2.2.13
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_cache

when a cache is hit in the quick_handler, the cache_url_handler will execute
ap_run_insert_filter to hook all the filter to the request. as the line 207 in
mod_cache.c (2.2.13)
      /* We are in the quick handler hook, which means that no output
       * filters have been set. So lets run the insert_filter hook.

but it didn't work, when the core_insert_filter is invoked by
ap_run_insert_filter, the core_dir_config's output_filters is stil NULL, so no
filter is hooked to the request. 

I found that the core_dir_config->output_filters doesn't stop to be NULL until
the ap_location_walk. so the ap_run_insert_filter in ap_invoke_handler works
all right, but in quick_handler it doesn't.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message