mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
core: Stop the HTTP_IN filter from attempting to write error buckets
to the output filters, which is bogus in the proxy case. Create a clean mapping from APR codes to HTTP status codes, and use it where needed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1482522 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -857,7 +857,7 @@ static int cgi_handler(request_rec *r)
|
||||
}
|
||||
ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(01225)
|
||||
"Error reading request entity data");
|
||||
return HTTP_INTERNAL_SERVER_ERROR;
|
||||
return ap_map_http_request_error(rv, HTTP_INTERNAL_SERVER_ERROR);
|
||||
}
|
||||
|
||||
for (bucket = APR_BRIGADE_FIRST(bb);
|
||||
|
Reference in New Issue
Block a user