From f9a7e7cc11e71b2c62d4c5b9ac4feb7e92913c64 Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Thu, 7 Nov 2024 17:25:45 +0400 Subject: QUIC: CUBIC congestion control. --- src/event/quic/ngx_event_quic.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/event/quic/ngx_event_quic.c') 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) { -- cgit