QUIC: fixed the "quic_stream_buffer_size" directive.

The default value is now correctly set and the configuration
is properly merged.
This commit is contained in:
Vladimir Homutov 2022-02-08 23:00:12 +03:00
parent 2ddbea69f1
commit e2b85c16d0
1 changed files with 4 additions and 0 deletions

View File

@ -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);