aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2022-02-08 23:00:12 +0300
committerVladimir Homutov <vl@nginx.com>2022-02-08 23:00:12 +0300
commit78ec75ad2a9a31ad9ef5fb5cc7cd3d0b30ec8181 (patch)
tree7bdac7351418595a435a5a24d1d6834064bac99a /src
parente9c170635e7b35dd2a92ab72e57f38a3403e9566 (diff)
downloadnginx-78ec75ad2a9a31ad9ef5fb5cc7cd3d0b30ec8181.tar.gz
nginx-78ec75ad2a9a31ad9ef5fb5cc7cd3d0b30ec8181.zip
QUIC: fixed the "quic_stream_buffer_size" directive.
The default value is now correctly set and the configuration is properly merged.
Diffstat (limited to 'src')
-rw-r--r--src/stream/ngx_stream_quic_module.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stream/ngx_stream_quic_module.c b/src/stream/ngx_stream_quic_module.c
index 0505df501..644fa0380 100644
--- a/src/stream/ngx_stream_quic_module.c
+++ b/src/stream/ngx_stream_quic_module.c
@@ -202,6 +202,10 @@ ngx_stream_quic_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child)
ngx_conf_merge_size_value(conf->mtu, prev->mtu,
NGX_QUIC_MAX_UDP_PAYLOAD_SIZE);
+ ngx_conf_merge_size_value(conf->stream_buffer_size,
+ prev->stream_buffer_size,
+ 65536);
+
ngx_conf_merge_uint_value(conf->max_concurrent_streams_bidi,
prev->max_concurrent_streams_bidi, 16);