Skip to content

Refactor ping timeout tracking#57

Merged
aisk merged 2 commits into
masterfrom
refactor/monotonic-timeout
Jul 10, 2026
Merged

Refactor ping timeout tracking#57
aisk merged 2 commits into
masterfrom
refactor/monotonic-timeout

Conversation

@aisk

@aisk aisk commented Jul 10, 2026

Copy link
Copy Markdown
Owner

Use a monotonic clock and recalculate the remaining receive timeout on every loop iteration. This keeps RTT measurement accurate and prevents unrelated packets from extending the overall timeout.

@aisk aisk changed the title ♻️ Refactor ping timeout tracking Refactor ping timeout tracking Jul 10, 2026
@aisk aisk merged commit e1ace7d into master Jul 10, 2026
3 checks passed
@aisk aisk deleted the refactor/monotonic-timeout branch July 10, 2026 13:22
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.

1 participant