]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
On the trunk:
authorStefan Eissing <icing@apache.org>
Fri, 27 Jan 2017 17:21:55 +0000 (17:21 +0000)
committerStefan Eissing <icing@apache.org>
Fri, 27 Jan 2017 17:21:55 +0000 (17:21 +0000)
mod_http2: do not attempt to send responses on aborted slave connections.

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

modules/http2/h2_from_h1.c

index d3f07a1b00d39dc41b8660bcdcae10963d73873a..a8f50987f34f130ce26a0f0039a3fbec33af4c1a 100644 (file)
@@ -517,7 +517,7 @@ apr_status_t h2_filter_headers_out(ap_filter_t *f, apr_bucket_brigade *bb)
     ap_log_cerror(APLOG_MARK, APLOG_TRACE1, 0, f->c,
                   "h2_task(%s): output_filter called", task->id);
     
-    if (!task->output.sent_response) {
+    if (!task->output.sent_response && !f->c->aborted) {
         /* check, if we need to send the response now. Until we actually
          * see a DATA bucket or some EOS/EOR, we do not do so. */
         for (b = APR_BRIGADE_FIRST(bb);