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:
parent
1e1752266f
commit
36f6a009b8
|
@ -1106,7 +1106,7 @@ void fill_default_config() {
|
||||||
{
|
{
|
||||||
auto &downstreamconf = http2conf.downstream;
|
auto &downstreamconf = http2conf.downstream;
|
||||||
downstreamconf.window_bits = 16;
|
downstreamconf.window_bits = 16;
|
||||||
downstreamconf.connection_window_bits = 16;
|
downstreamconf.connection_window_bits = 30;
|
||||||
downstreamconf.max_concurrent_streams = 100;
|
downstreamconf.max_concurrent_streams = 100;
|
||||||
|
|
||||||
nghttp2_option_new(&downstreamconf.option);
|
nghttp2_option_new(&downstreamconf.option);
|
||||||
|
|
Loading…
Reference in New Issue