1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

filters can now report an HTTP error to the server. This is done

by sending a brigade where the first bucket is an error_bucket.
This bucket is a simple bucket that stores an HTTP error and
a string.  Currently the string is not used, but it may be needed
to output an error log.  The http_header_filter will find this
bucket, and output the error text, and then return
AP_FILTER_ERROR, which informs the server that the error web page
has already been sent.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87863 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan Bloom
2001-01-27 07:13:39 +00:00
parent 08afc3aa38
commit fd0256ed99
7 changed files with 63 additions and 2 deletions

View File

@@ -1351,7 +1351,7 @@ static void process_request_internal(request_rec *r)
*/
ap_run_insert_filter(r);
if ((access_status = ap_invoke_handler(r)) != 0) {
if ((access_status = ap_invoke_handler(r)) != 0 && access_status != -3) {
ap_die(access_status, r);
return;
}