]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
core, modules: like r1657897 but for core and other modules than mod_proxy.
authorYann Ylavic <ylavic@apache.org>
Tue, 10 Mar 2015 17:25:17 +0000 (17:25 +0000)
committerYann Ylavic <ylavic@apache.org>
Tue, 10 Mar 2015 17:25:17 +0000 (17:25 +0000)
commit0a431ef862d309e2157ada8da485fb227cadd0dd
tree2fbdea369daab080893212ea818f2b2e59ca3d8d
parentc87a18ddefcc3387a95da55c2f2386df070bd843
core, modules: like r1657897 but for core and other modules than mod_proxy.

More uses of ap_map_http_request_error() and AP_FILTER_ERROR so that we never
return an HTTP error status from a handler if some filter generated a response
already.

That is, from a handler, either ap_get_brigade() (an input filter) returned
AP_FILTER_ERROR and we must forward it to ap_die(), or ap_pass_brigade() (an
output filter) failed with any status and we must return AP_FILTER_ERROR in
any case for ap_die() to determine whether a response is needed or not.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1665625 13f79535-47bb-0310-9956-ffa450edef68
16 files changed:
modules/cache/mod_file_cache.c
modules/cluster/mod_heartmonitor.c
modules/dav/fs/repos.c
modules/dav/main/mod_dav.c
modules/filters/mod_reflector.c
modules/generators/mod_asis.c
modules/generators/mod_cgi.c
modules/generators/mod_cgid.c
modules/http/http_filters.c
modules/proxy/mod_proxy_ajp.c
modules/ssl/ssl_engine_io.c
modules/ssl/ssl_engine_kernel.c
modules/test/mod_dialup.c
server/core.c
server/error_bucket.c
server/util_xml.c