diff options
| author | Roman Arutyunyan <arut@nginx.com> | 2024-11-07 17:25:45 +0400 |
|---|---|---|
| committer | Roman Arutyunyan <arutyunyan.roman@gmail.com> | 2025-04-15 19:01:36 +0400 |
| commit | f9a7e7cc11e71b2c62d4c5b9ac4feb7e92913c64 (patch) | |
| tree | e3e2839c537339a5c809d547015184b83bc07629 /src/event/quic/ngx_event_quic.c | |
| parent | a40cc700238796d6668a461e121f6ffee5066394 (diff) | |
| download | nginx-f9a7e7cc11e71b2c62d4c5b9ac4feb7e92913c64.tar.gz nginx-f9a7e7cc11e71b2c62d4c5b9ac4feb7e92913c64.tar.bz2 | |
QUIC: CUBIC congestion control.
Diffstat (limited to 'src/event/quic/ngx_event_quic.c')
| -rw-r--r-- | src/event/quic/ngx_event_quic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/event/quic/ngx_event_quic.c b/src/event/quic/ngx_event_quic.c index 11497a6d7..49d30e82a 100644 --- a/src/event/quic/ngx_event_quic.c +++ b/src/event/quic/ngx_event_quic.c @@ -312,6 +312,7 @@ ngx_quic_new_connection(ngx_connection_t *c, ngx_quic_conf_t *conf, ngx_max(2 * NGX_QUIC_MIN_INITIAL_SIZE, 14720)); qc->congestion.ssthresh = (size_t) -1; + qc->congestion.mtu = NGX_QUIC_MIN_INITIAL_SIZE; qc->congestion.recovery_start = ngx_current_msec - 1; if (pkt->validated && pkt->retried) { |
