From: Stefan Eissing Date: Fri, 27 Jan 2017 16:34:36 +0000 (+0000) Subject: On the trunk: X-Git-Tag: 2.5.0-alpha~740 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b88a8489db2b53b0bc654feac77771e40b6e618;p=apache On the trunk: *) mod_http2: regression fix on PR 59348, on graceful restart, ongoing streams are finished normally before the final GOAWAY is sent. [Stefan Eissing, ] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1780576 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 6166fa19e7..e0838a58d1 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,10 @@ -*- coding: utf-8 -*- Changes with Apache 2.5.0 + *) mod_http2: regression fix on PR 59348, on graceful restart, ongoing + streams are finished normally before the final GOAWAY is sent. + [Stefan Eissing, ] + *) When using mod_status with the Event MPM, report the number of requests associated with an active connection in the "ACC" field. Previously zero was always reported with this MPM. PR60647. [Eric Covener] diff --git a/modules/http2/h2_session.c b/modules/http2/h2_session.c index 3dccdeec82..565207b4a4 100644 --- a/modules/http2/h2_session.c +++ b/modules/http2/h2_session.c @@ -2252,8 +2252,8 @@ apr_status_t h2_session_process(h2_session *session, int async) } else if (APR_STATUS_IS_TIMEUP(status)) { /* go back to checking all inputs again */ - transit(session, "wait cycle", session->local.accepting? - H2_SESSION_ST_BUSY : H2_SESSION_ST_DONE); + transit(session, "wait cycle", session->local.shutdown? + H2_SESSION_ST_DONE : H2_SESSION_ST_BUSY); } else if (APR_STATUS_IS_ECONNRESET(status) || APR_STATUS_IS_ECONNABORTED(status)) {