From: Vladimir Homutov Date: Tue, 8 Feb 2022 20:00:12 +0000 (+0300) Subject: QUIC: fixed the "quic_stream_buffer_size" directive. X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=78ec75ad2a9a31ad9ef5fb5cc7cd3d0b30ec8181;p=nginx.git QUIC: fixed the "quic_stream_buffer_size" directive. The default value is now correctly set and the configuration is properly merged. --- 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);