You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2017/01/27 17:21:55 UTC

svn commit: r1780596 - /httpd/httpd/trunk/modules/http2/h2_from_h1.c

Author: icing
Date: Fri Jan 27 17:21:55 2017
New Revision: 1780596

URL: http://svn.apache.org/viewvc?rev=1780596&view=rev
Log:
On the trunk:

mod_http2: do not attempt to send responses on aborted slave connections.


Modified:
    httpd/httpd/trunk/modules/http2/h2_from_h1.c

Modified: httpd/httpd/trunk/modules/http2/h2_from_h1.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/http2/h2_from_h1.c?rev=1780596&r1=1780595&r2=1780596&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/http2/h2_from_h1.c (original)
+++ httpd/httpd/trunk/modules/http2/h2_from_h1.c Fri Jan 27 17:21:55 2017
@@ -517,7 +517,7 @@ apr_status_t h2_filter_headers_out(ap_fi
     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);