Skip to content

Commit

Permalink
QUIC: fixed the "quic_stream_buffer_size" directive.
Browse files Browse the repository at this point in the history
The default value is now correctly set and the configuration
is properly merged.
  • Loading branch information
vlhomutov committed Feb 8, 2022
1 parent e9c1706 commit 78ec75a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/stream/ngx_stream_quic_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 78ec75a

Please sign in to comment.