httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
https://issues.apache.org/bugzilla/show_bug.cgi?id=48316

           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
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: wangdong.08@gmail.com


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.
       */
      ap_run_insert_filter(r);
-------------------------------------

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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message