Skip to content

Commit 401ddd3

Browse files
committed
Update comment on API.
1 parent 700ae0c commit 401ddd3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

picoquic/picoquic.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1498,6 +1498,14 @@ void picoquic_set_default_bbr_quantum_ratio(picoquic_quic_t* quic, double quantu
14981498
* applications sending lots of data, and thus should only be
14991499
* used when applications require it.
15001500
*
1501+
* The lost control events fires if there is more that 2 "ack delay max" between
1502+
* the last ACK received and the next one. In practice, that means 1 RTT + 2 ack delays
1503+
* after the first non acked packet was sent. In contrast, the RTO fires
1504+
* 1 RTT + 4 STDEV + 1 ack delay after the last packet was sent. Given congestion
1505+
* control and CWIN, this "last packet" is typically sent 1 RTT after the "first
1506+
* packet not acknowledged". Thus, the "lost control" event will typically
1507+
* happen 1 RTT before the RTO event.
1508+
*
15011509
* The `should_notify` should be set 1 to enable the feature, or to 0
15021510
* to stop notifications. It is set by default to zero when a connection
15031511
* is created.

0 commit comments

Comments
 (0)