From: Jeff Trawick Date: Thu, 31 Oct 2002 11:39:36 +0000 (+0000) Subject: when the connection drops, c->aborted is set but generally X-Git-Tag: 2.0.44~182 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90231d37d6eed1ab5bac2a9adcfc098d7e226ee6;p=apache when the connection drops, c->aborted is set but generally ap_pass_brigade returns APR_SUCCESS content-length needs to be alert to c->aborted so that it doesn't keep trying to pass brigades down (otherwise, you get errors writing to the network over and over and over and ...) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97363 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/protocol.c b/server/protocol.c index 34c268b4b5..e92ff2be68 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -1260,7 +1260,7 @@ AP_CORE_DECLARE_NONSTD(apr_status_t) ap_content_length_filter( APR_BRIGADE_INSERT_TAIL(b, flush); rv = ap_pass_brigade(f->next, b); - if (rv != APR_SUCCESS) { + if (rv != APR_SUCCESS || f->c->aborted) { apr_brigade_destroy(split); return rv; }