* Notice that reading of the request entity body failed due to a timeout

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@451006 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ruediger Pluem
2006-09-28 20:15:42 +00:00
parent 6dae4bbd54
commit faacd788d1
2 changed files with 10 additions and 0 deletions

View File

@ -1387,6 +1387,11 @@ static int cgid_handler(request_rec *r)
APR_BLOCK_READ, HUGE_STRING_LEN);
if (rv != APR_SUCCESS) {
if (rv == APR_TIMEUP) {
ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
"Timeout during reading request entity data");
return HTTP_REQUEST_TIME_OUT;
}
ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r,
"Error reading request entity data");
return HTTP_INTERNAL_SERVER_ERROR;