# HG changeset patch # User Roman Arutyunyan # Date 1616417474 -10800 # Node ID 55aabb7269e7a510896b1f04b77df47a94b0ca60 # Parent 98c4020f1c9a774a87ce0fa51cf06d3a4582c64c HTTP/3: set initial_max_streams_uni default value to 3. The maximum number of HTTP/3 unidirectional client streams we can handle is 3: control, decode and encode. These streams are never closed. diff --git a/src/http/modules/ngx_http_quic_module.c b/src/http/modules/ngx_http_quic_module.c --- a/src/http/modules/ngx_http_quic_module.c +++ b/src/http/modules/ngx_http_quic_module.c @@ -337,7 +337,7 @@ ngx_http_quic_merge_srv_conf(ngx_conf_t prev->tp.initial_max_streams_bidi, 16); ngx_conf_merge_uint_value(conf->tp.initial_max_streams_uni, - prev->tp.initial_max_streams_uni, 16); + prev->tp.initial_max_streams_uni, 3); ngx_conf_merge_uint_value(conf->tp.ack_delay_exponent, prev->tp.ack_delay_exponent,