Mercurial > hg > nginx
comparison src/http/v3/ngx_http_v3_module.c @ 8271:8e54a17dabee quic
Respect QUIC max_idle_timeout.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Mon, 23 Mar 2020 21:20:20 +0300 |
parents | d45325e90221 |
children | 0b95c2041887 |
comparison
equal
deleted
inserted
replaced
8270:c87a13514abc | 8271:8e54a17dabee |
---|---|
227 { | 227 { |
228 ngx_http_v3_srv_conf_t *prev = parent; | 228 ngx_http_v3_srv_conf_t *prev = parent; |
229 ngx_http_v3_srv_conf_t *conf = child; | 229 ngx_http_v3_srv_conf_t *conf = child; |
230 | 230 |
231 ngx_conf_merge_msec_value(conf->quic.max_idle_timeout, | 231 ngx_conf_merge_msec_value(conf->quic.max_idle_timeout, |
232 prev->quic.max_idle_timeout, 10000); | 232 prev->quic.max_idle_timeout, 60000); |
233 | 233 |
234 // > 2 ^ 14 is invalid | 234 // > 2 ^ 14 is invalid |
235 ngx_conf_merge_msec_value(conf->quic.max_ack_delay, | 235 ngx_conf_merge_msec_value(conf->quic.max_ack_delay, |
236 prev->quic.max_ack_delay, | 236 prev->quic.max_ack_delay, |
237 NGX_QUIC_DEFAULT_MAX_ACK_DELAY); | 237 NGX_QUIC_DEFAULT_MAX_ACK_DELAY); |