Skip to content

Conversation

@dignifiedquire
Copy link
Collaborator

No description provided.

@github-actions
Copy link

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/quinn/pr/279/docs/iroh_quinn/

Last updated: 2025-12-17T18:02:15Z

@n0bot n0bot bot added this to iroh Dec 17, 2025
@github-project-automation github-project-automation bot moved this to 🏗 In progress in iroh Dec 17, 2025
pub(crate) fn timer_offset(&self, now: Instant, duration: Duration) -> Instant {
let start = self.last_sent.unwrap_or(now);
let end = start + duration;
if end > start {
Copy link
Member

@Frando Frando Dec 18, 2025

Choose a reason for hiding this comment

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

should be if end > now I think?

Comment on lines +678 to +679
let end = self.calculate_end_timer(now, 3, SpaceId::Data);
let extended_end = self.calculate_end_timer(now, 6, SpaceId::Data);
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
let end = self.calculate_end_timer(now, 3, SpaceId::Data);
let extended_end = self.calculate_end_timer(now, 6, SpaceId::Data);
let last_allowed_receive = self.calculate_end_timer(now, 3, SpaceId::Data);
let path_discard = self.calculate_end_timer(now, 6, SpaceId::Data);

@flub flub added the multipath Related to the QUIC Multipath extension. label Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

multipath Related to the QUIC Multipath extension.

Projects

Status: 🏗 In progress

Development

Successfully merging this pull request may close these issues.

5 participants