Skip to content

Commit

Permalink
compenstate iff jumpstart was used
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuho committed Nov 6, 2023
1 parent 21d2975 commit 1e2fe69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/quicly/cc.h
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ inline void quicly_cc_jumpstart_on_acked(quicly_cc_t *cc, int in_recovery, uint3
if (in_recovery) {
/* if a loss is observed due to jumpstart, CWND is adjusted so that it would become bytes that passed through to the client
* during the jumpstart phase of exactly 1 RTT, when the last ACK for the jumpstart phase is received */
if (largest_acked < cc->jumpstart.exit_pn)
if (cc->jumpstart.enter_pn <= largest_acked && largest_acked < cc->jumpstart.exit_pn)
cc->cwnd += bytes;
return;
}
Expand Down

0 comments on commit 1e2fe69

Please sign in to comment.