&len, r, 0);
if (rv != APR_SUCCESS) {
- /* We'll get TIMEUP or EOF on keepalives, so those are common
- * errors that we don't want to log.
+ /* We could get TIMEUP, EOF, or CONNRESET on socket timeouts,
+ * so those are common errors that we don't want to log.
*/
- if (!APR_STATUS_IS_TIMEUP(rv) && !APR_STATUS_IS_EOF(rv)) {
+ if (!APR_STATUS_IS_TIMEUP(rv) && !APR_STATUS_IS_EOF(rv) &&
+ !APR_STATUS_IS_ECONNRESET(rv)) {
ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, "read_request_line() failed");
}
r->request_time = apr_time_now();