mirror of
https://github.com/apache/httpd.git
synced 2025-07-23 01:08:51 +00:00
*) mod_http2: update to version 2.0.32
The code setting the connection window size was set wrong, preventing `H2WindowSize` to work. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1925975 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
5
changes-entries/h2_v2.0.32.txt
Normal file
5
changes-entries/h2_v2.0.32.txt
Normal file
@ -0,0 +1,5 @@
|
||||
*) mod_http2: update to version 2.0.32
|
||||
The code setting the connection window size was set wrong,
|
||||
preventing `H2WindowSize` to work.
|
||||
Fixed <https://github.com/icing/mod_h2/issues/300>.
|
||||
[Stefan Eissing, Michael Kaufmann]
|
@ -1265,7 +1265,7 @@ static apr_status_t mplx_pollset_poll(h2_mplx *m, apr_interval_time_t timeout,
|
||||
if (on_stream_input) {
|
||||
APR_ARRAY_PUSH(m->streams_ev_in, h2_stream*) = m->stream0;
|
||||
}
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1154,13 +1154,13 @@ static apr_status_t h2_session_start(h2_session *session, int *rv)
|
||||
* interim updates, any smaller connection window will lead to blocking
|
||||
* in DATA flow.
|
||||
*/
|
||||
*rv = nghttp2_submit_window_update(session->ngh2, NGHTTP2_FLAG_NONE,
|
||||
0, NGHTTP2_MAX_WINDOW_SIZE - win_size);
|
||||
*rv = nghttp2_session_set_local_window_size(
|
||||
session->ngh2, NGHTTP2_FLAG_NONE, 0, NGHTTP2_MAX_WINDOW_SIZE);
|
||||
if (*rv != 0) {
|
||||
status = APR_EGENERAL;
|
||||
ap_log_cerror(APLOG_MARK, APLOG_ERR, status, session->c1,
|
||||
H2_SSSN_LOG(APLOGNO(02970), session,
|
||||
"nghttp2_submit_window_update: %s"),
|
||||
"nghttp2_session_set_local_window_size: %s"),
|
||||
nghttp2_strerror(*rv));
|
||||
}
|
||||
}
|
||||
|
@ -27,7 +27,7 @@
|
||||
* @macro
|
||||
* Version number of the http2 module as c string
|
||||
*/
|
||||
#define MOD_HTTP2_VERSION "2.0.31-git"
|
||||
#define MOD_HTTP2_VERSION "2.0.32"
|
||||
|
||||
/**
|
||||
* @macro
|
||||
@ -35,7 +35,7 @@
|
||||
* release. This is a 24 bit number with 8 bits for major number, 8 bits
|
||||
* for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203.
|
||||
*/
|
||||
#define MOD_HTTP2_VERSION_NUM 0x02001f
|
||||
#define MOD_HTTP2_VERSION_NUM 0x020020
|
||||
|
||||
|
||||
#endif /* mod_h2_h2_version_h */
|
||||
|
Reference in New Issue
Block a user