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.
This commit is contained in:
Roman Arutyunyan 2021-03-22 15:51:14 +03:00
parent f4ab680bcb
commit 25a74b52d1

View File

@ -337,7 +337,7 @@ ngx_http_quic_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child)
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,