Skip to content

Adapt private-link retransmission timing - #92

Open
ZivDero wants to merge 11 commits into
mainfrom
network-retransmission-timing
Open

Adapt private-link retransmission timing#92
ZivDero wants to merge 11 commits into
mainfrom
network-retransmission-timing

Conversation

@ZivDero

@ZivDero ZivDero commented Aug 31, 2026

Copy link
Copy Markdown
Member

Adds per-link RTT/RTO estimation and exponential retransmission backoff. Supports #35.

@ZivDero ZivDero changed the title network retransmission timing Adapt private-link retransmission timing Aug 31, 2026
@ZivDero
ZivDero force-pushed the network-retransmission-timing branch from 423e3fa to 8605188 Compare August 31, 2026 16:01
@ZivDero
ZivDero force-pushed the network-retransmission-timing branch from 2073fda to edc61ff Compare September 2, 2026 00:48
@ZivDero
ZivDero force-pushed the network-retransmission-timing branch from edc61ff to a9ee31f Compare September 2, 2026 00:53
@ZivDero
ZivDero marked this pull request as ready for review September 2, 2026 15:23
Base automatically changed from network-packet-hardening to main September 2, 2026 15:24
@ZivDero
ZivDero force-pushed the network-retransmission-timing branch from 769c546 to cac13ff Compare September 2, 2026 15:24
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

Development builds of 8c5370d:

The links work without a GitHub account. Artifacts expire after 90 days, and this comment follows the latest successful build.

@Krisztiaan Krisztiaan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also possibly consolidate some of the "verbosity" wherever possible?

Comment thread code/nettiming.cpp
/// <summary>Bounds a packet's first retry so the connection timeout allows at least three transmissions.</summary>
Milliseconds Initial_Retry_Timeout(Milliseconds retransmit_timeout, Milliseconds connection_timeout)
{
return(std::max(MINIMUM_RTO, std::min(retransmit_timeout, connection_timeout / 4)));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This cap can permanently prevent RTT recovery. Make the first-retry policy preserve a path to a clean sample, may be worth to add the corresponding sequence as a regression test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants