From 25a74b52d14fa0e0bbac4c0d1b3e432bbb31ca97 Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Mon, 22 Mar 2021 15:51:14 +0300 Subject: 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. --- src/http/modules/ngx_http_quic_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http') diff --git a/src/http/modules/ngx_http_quic_module.c b/src/http/modules/ngx_http_quic_module.c index 8106e3e0a..5282bf4bb 100644 --- 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 *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, -- cgit