]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: quic: Missing recovery start timer reset
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 1 Mar 2022 14:09:45 +0000 (15:09 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 4 Mar 2022 16:47:32 +0000 (17:47 +0100)
The recovery start time must be reset after a persistent congestion has been
detected.

src/quic_cc_newreno.c

index 48219ff684864ae81669b818cf28a0db574c5ade..a9b505741704d02748734617decd4fcbe4c102f6 100644 (file)
@@ -111,6 +111,7 @@ static void quic_cc_nr_ca_cb(struct quic_cc *cc, struct quic_cc_event *ev)
                        cc->algo_state.nr.cwnd = path->min_cwnd;
                        /* Re-entering slow start state. */
                        cc->algo_state.nr.state = QUIC_CC_ST_SS;
+                       cc->algo_state.nr.recovery_start_time = 0;
                }
                path->cwnd = cc->algo_state.nr.cwnd;
                break;