mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Follow up to r1739201.
These APR_TIMEUP special cases are now handled by ap_map_http_request_error(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1766998 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -853,11 +853,6 @@ static int cgi_handler(request_rec *r)
|
||||
APR_BLOCK_READ, HUGE_STRING_LEN);
|
||||
|
||||
if (rv != APR_SUCCESS) {
|
||||
if (APR_STATUS_IS_TIMEUP(rv)) {
|
||||
ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(01224)
|
||||
"Timeout during reading request entity data");
|
||||
return HTTP_REQUEST_TIME_OUT;
|
||||
}
|
||||
ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(01225)
|
||||
"Error reading request entity data");
|
||||
return ap_map_http_request_error(rv, HTTP_BAD_REQUEST);
|
||||
|
Reference in New Issue
Block a user