Skip to content
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

Fix minor datagram send bugs #1836

Merged
merged 10 commits into from
May 1, 2024
Merged

Fix minor datagram send bugs #1836

merged 10 commits into from
May 1, 2024

Conversation

Ralith
Copy link
Collaborator

@Ralith Ralith commented Apr 27, 2024

Noticed while exploring solutions to #1832. Also tossing in any other simple wins I stumble across.

quinn-proto/src/connection/datagrams.rs Outdated Show resolved Hide resolved
quinn-proto/src/connection/datagrams.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@djc djc left a comment

Choose a reason for hiding this comment

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

Nice!

quinn-proto/src/connection/datagrams.rs Outdated Show resolved Hide resolved
Ralith added 10 commits May 1, 2024 09:23
Prevents spans from leaking when packets aren't finished
The current system time must only be sampled once to establish the
unit test epoch. Because test time doesn't advance unless told to,
this was causing connections to sometimes receive packets from before
they were created, causing odd warnings and potentially other
unintended behavior.
@Ralith Ralith merged commit 8c89b79 into main May 1, 2024
8 checks passed
@Ralith Ralith deleted the datagram-cleanup branch May 1, 2024 16:33
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.

None yet

2 participants