-
Notifications
You must be signed in to change notification settings - Fork 4
fix: include off-path challenges in setting challenge lost timer #261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This reverts commit a91a51c.
|
Documentation for this PR has been generated and is available at: https://n0-computer.github.io/quinn/pr/261/docs/iroh_quinn/ Last updated: 2025-12-16T16:54:00Z |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #261 +/- ##
==========================================
- Coverage 76.51% 76.48% -0.04%
==========================================
Files 83 83
Lines 23167 23203 +36
==========================================
+ Hits 17727 17746 +19
- Misses 5440 5457 +17 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
matheus23
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if it'd be useful to have a function that allows you to set_or_stop a timer, depending on whether you pass it a Some or None.
So this could be used like self.timers.set_or_stop(self.earliest_challenge_considered_lost_instant(), qlog), or sth like that.
I like that, I'll add it |
|
@matheus23 added it. It doesn't save too many lines in this case, we could probably use it in some other places as well, but it does reduce the cognitive load so I think it's a good addition ptal :) |
Description
we need to take into account path challenges for remotes other than received ones when stopping the challenge lost timer
Breaking Changes
n/a
Notes & open questions
n/a