MODSEC-181

This commit is contained in:
brenosilva
2011-03-02 17:41:36 +00:00
parent c4100a1848
commit 74666fe2ca
2 changed files with 10 additions and 0 deletions

View File

@@ -203,6 +203,9 @@ apr_status_t read_request_body(modsec_rec *msr, char **error_msg) {
* too large and APR_EGENERAL when the client disconnects.
*/
switch(rc) {
case APR_EOF :
*error_msg = apr_psprintf(msr->mp, "Error reading request body: %s", get_apr_error(msr->mp, rc));
return -6;
case APR_TIMEUP :
*error_msg = apr_psprintf(msr->mp, "Error reading request body: %s", get_apr_error(msr->mp, rc));
return -4;