diff options
author | Roman Arutyunyan <arut@nginx.com> | 2021-03-22 15:51:14 +0300 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2021-03-22 15:51:14 +0300 |
commit | 25a74b52d14fa0e0bbac4c0d1b3e432bbb31ca97 (patch) | |
tree | e660030b27fc98240174f94e1a3e4484bfa64f48 /src | |
parent | f4ab680bcb34d832a1dfd086e3641bf78c0a207c (diff) | |
download | nginx-25a74b52d14fa0e0bbac4c0d1b3e432bbb31ca97.tar.gz nginx-25a74b52d14fa0e0bbac4c0d1b3e432bbb31ca97.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/http/modules/ngx_http_quic_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |