Skip to content

Commit de4e303

Browse files
committed
mod_http2: fixing flush on SETTINGS frames without open streams
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1752087 13f79535-47bb-0310-9956-ffa450edef68
1 parent ab36cc6 commit de4e303

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
-*- coding: utf-8 -*-
22
Changes with Apache 2.5.0
33

4+
*) mod_http2: fixes connection flush when answering SETTINGS without any
5+
stream open. [Moto Ishizawa <@summerwind>, Stefan Eissing]
6+
47
*) ab: Add option -I to use the Server Name Indication (SNI) extension on
58
outgoing TLS connections, according to the Host header (if any) or the
69
requested URL's hostname otherwise. [Yann Ylavic]

modules/http2/h2_session.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2088,6 +2088,7 @@ apr_status_t h2_session_process(h2_session *session, int async)
20882088

20892089
case H2_SESSION_ST_IDLE:
20902090
/* make certain, we send everything before we idle */
2091+
h2_conn_io_flush(&session->io);
20912092
if (!session->keep_sync_until && async && !session->open_streams
20922093
&& !session->r && session->remote.emitted_count) {
20932094
if (trace) {

0 commit comments

Comments
 (0)