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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user