processing is completed, avoiding orphaned callback pointers.
[Brett Gervasoni <brettg senseofsecurity.com>, Jeff Trawick]
- *) Log an error for failures to read a chunk-size, and return 400 instead
+ *) Log an error for failures to read a chunk-size, and return 408 instead of
413 when this is due to a read timeout. This change also fixes some cases
of two error documents being sent in the response for the same scenario.
[Eric Covener] PR49167
ctx->remaining = 0; /* Reset it in case we have to
* come back here later */
if (APR_STATUS_IS_TIMEUP(rv)) {
- http_error = HTTP_BAD_REQUEST;
+ http_error = HTTP_REQUEST_TIME_OUT;
}
return bail_out_on_error(ctx, f, http_error);
}
ctx->remaining = 0; /* Reset it in case we have to
* come back here later */
if (APR_STATUS_IS_TIMEUP(rv)) {
- http_error = HTTP_BAD_REQUEST;
+ http_error = HTTP_REQUEST_TIME_OUT;
}
return bail_out_on_error(ctx, f, http_error);
}