]> granicus.if.org Git - apache/commitdiff
Set the conn_rec->aborted flag when we detect a whacked connection on the
authorBill Stoddard <stoddard@apache.org>
Wed, 2 May 2001 20:15:56 +0000 (20:15 +0000)
committerBill Stoddard <stoddard@apache.org>
Wed, 2 May 2001 20:15:56 +0000 (20:15 +0000)
write path.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88978 13f79535-47bb-0310-9956-ffa450edef68

server/core.c

index 518e478d9f6e2ba92965082202c46b243d55b842..092eb62f09d6948c9aeab98e48c49405aedc7f8f 100644 (file)
@@ -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;
         }