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: [email protected]
        ReportedBy: [email protected]


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to