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

feat: introduce UdpSocketState::try_send APIs #2017

Merged
merged 6 commits into from
Oct 25, 2024

Conversation

thomaseizinger
Copy link
Contributor

Resolves: #1971.

@thomaseizinger thomaseizinger force-pushed the feat/add-try-send branch 2 times, most recently from a3d8720 to e617ab9 Compare October 21, 2024 07:18
Copy link
Member

@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.

This looks reasonable to me, thanks!

quinn-udp/src/unix.rs Outdated Show resolved Hide resolved
quinn-udp/src/windows.rs Outdated Show resolved Hide resolved
@thomaseizinger
Copy link
Contributor Author

thomaseizinger commented Oct 21, 2024

@djc Can the feedback be in follow-up commits or should I amend?

@djc
Copy link
Member

djc commented Oct 21, 2024

@djc Can the feedback be in follow-up commits or should I amend?

Please amend so that we end up with a clean commit series to review.

This makes it more apparent that this logging is happening because users
are more likely to read at least the first "layer" of the APIs they are
using.

In addition, we are going to offer a `try_send` API which requires us to
decouple the `send` free-function from this logging behaviour.
@thomaseizinger
Copy link
Contributor Author

Just fixed up CI, sorry for the hickup!

Copy link
Collaborator

@Ralith Ralith left a comment

Choose a reason for hiding this comment

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

Thanks! We should probably consolidate the public definitions somehow one of these days...

@Ralith Ralith added this pull request to the merge queue Oct 25, 2024
Merged via the queue into quinn-rs:main with commit bb68125 Oct 25, 2024
14 checks passed
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.

Don't silence errors from quinn-udp code
3 participants