nghttpx: Effectively disable backend HTTP/2 connection flow control

This is required to avoid session stall because of too slow frontend
connection.
This commit is contained in:
Tatsuhiro Tsujikawa 2016-02-28 00:11:55 +09:00
parent 1e1752266f
commit 36f6a009b8
1 changed files with 1 additions and 1 deletions

View File

@ -1106,7 +1106,7 @@ void fill_default_config() {
{
auto &downstreamconf = http2conf.downstream;
downstreamconf.window_bits = 16;
downstreamconf.connection_window_bits = 16;
downstreamconf.connection_window_bits = 30;
downstreamconf.max_concurrent_streams = 100;
nghttp2_option_new(&downstreamconf.option);