]> 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)
commite8ca9748b08b8cf7bee824553da54185ae28306d
tree2fbdea369daab080893212ea818f2b2e59ca3d8d
parentcbd1178bbe0ed811b643e729c3427867570a6ba4
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