From: Bill Stoddard Date: Wed, 2 May 2001 20:15:56 +0000 (+0000) Subject: Set the conn_rec->aborted flag when we detect a whacked connection on the X-Git-Tag: 2.0.18~124 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=91a89a905604cdb555c7c6b25b3a643f466c0b13;p=apache Set the conn_rec->aborted flag when we detect a whacked connection on the write path. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88978 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/core.c b/server/core.c index 518e478d9f..092eb62f09 100644 --- a/server/core.c +++ b/server/core.c @@ -3239,6 +3239,10 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b) "core_output_filter: writing data to the network"); if (more) apr_brigade_destroy(more); + if (APR_STATUS_IS_ECONNABORTED(rv) || + APR_STATUS_IS_ECONNRESET(rv)) { + c->aborted = 1; + } return rv; }