1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-25 07:01:39 +03:00
Files
apache/include
Justin Erenkrantz 798c1dae43 Add a filter_init function to the filters so that a filter can execute
arbitrary code before the handlers are invoked.

This resolves an issue with incorrect 304s on If-Modified-Since mod_include
requests since ap_meets_conditions() is not aware that this is a dynamic
request and it is not possible to satisfy 304 for these requests (unless
xbithack full is on, of course).  When mod_include runs as a filter, it is
too late to set any flag since the handler is responsible for calling
ap_meets_conditions(), which it should do before generating any data.

If a module doesn't need to run such arbitrary code, it can just pass NULL
as the argument and all is well.

PR:	9673
Reviewed by:	Ryan Bloom and others


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95906 13f79535-47bb-0310-9956-ffa450edef68
2002-06-28 08:40:25 +00:00
..
2002-03-13 20:48:07 +00:00
2002-06-17 16:11:06 +00:00
2002-03-29 08:17:26 +00:00
2002-06-04 19:01:05 +00:00
2002-03-13 22:34:46 +00:00
2001-03-11 14:54:13 +00:00
2002-03-13 20:48:07 +00:00
2002-03-29 16:21:48 +00:00
2002-03-13 20:48:07 +00:00