Companion
Properties
Duration of one base-delay bucket (~1 minute), matching libtorrent's delay-base update.
Number of live base-delay buckets kept (the rolling window the base-min spans).
Initial per-packet payload (MSS) before any PMTU shrinking (1500 - IP/UDP/uTP).
RTO floor (min_timeout): 500 ms, matching libtorrent's min_timeout.
Our advertised receive window / the cwnd ceiling (bytes).
Internal retransmission ticker cadence (ms).
Dup-ACK / SACKed-above threshold that triggers a fast retransmit (dup_ack_limit).
Cap the exponential backoff shift so the timeout can't run away.
Cap on cwnd growth (bytes). The peer's advertised wnd_size caps it further (see awaitWindow).
Absolute ceiling on a single RTO interval (60 s).
Give up (fail the socket) after this many consecutive RTO retransmits.
Bytes the MSS drops per shrink step when repeated loss suggests over-MTU packets.
Consecutive RTO rounds before the first MSS shrink (treat the first round as plain loss).
Max bits a SACK bitmask can carry (32 bytes × 8), per libtorrent.
LEDBAT target queuing delay: 100 ms, the BEP-29 / libtorrent target_delay.