From 91a89a905604cdb555c7c6b25b3a643f466c0b13 Mon Sep 17 00:00:00 2001 From: Bill Stoddard Date: Wed, 2 May 2001 20:15:56 +0000 Subject: [PATCH] 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 --- server/core.c | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 2.50.1