-
-
Notifications
You must be signed in to change notification settings - Fork 400
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(udp): propagate error on apple_fast #2073
Conversation
With quinn-rs#2017, the concrete `send` implementations per platform are supposed to propagate `io::Error`s. Those errors are then eiter logged and dropped in `UdpSocketState::send` or further propagated in `UdpSocketState::try_send`. The `fast_apple` `send` implementation added in quinn-rs#1993 does not follow this pattern. This commit adjusts the `fast_apple` implementation accordingly.
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.
Thanks!
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.
Thank you Max!
FWIW, Rust 1.83 (released yesterday) stabilised new |
…chain-reviewers `quinn-udp` `v0.5.8` contains an intermediary fix for Bug 1916558, see quinn-rs/quinn#2071. In addition `quinn-udp` `v0.5.8` Includes the following bugfixes: - quinn-rs/quinn#2072 - quinn-rs/quinn#2073 - quinn-rs/quinn#2074 - quinn-rs/quinn#2050 - quinn-rs/quinn#2047 Differential Revision: https://phabricator.services.mozilla.com/D231505
…chain-reviewers `quinn-udp` `v0.5.8` contains an intermediary fix for Bug 1916558, see quinn-rs/quinn#2071. In addition `quinn-udp` `v0.5.8` Includes the following bugfixes: - quinn-rs/quinn#2072 - quinn-rs/quinn#2073 - quinn-rs/quinn#2074 - quinn-rs/quinn#2050 - quinn-rs/quinn#2047 Differential Revision: https://phabricator.services.mozilla.com/D231505
…chain-reviewers `quinn-udp` `v0.5.8` contains an intermediary fix for Bug 1916558, see quinn-rs/quinn#2071. In addition `quinn-udp` `v0.5.8` Includes the following bugfixes: - quinn-rs/quinn#2072 - quinn-rs/quinn#2073 - quinn-rs/quinn#2074 - quinn-rs/quinn#2050 - quinn-rs/quinn#2047 Differential Revision: https://phabricator.services.mozilla.com/D231505 UltraBlame original commit: a8cd98601fdff821fe9cc516ddb61f54c104fb58
…chain-reviewers `quinn-udp` `v0.5.8` contains an intermediary fix for Bug 1916558, see quinn-rs/quinn#2071. In addition `quinn-udp` `v0.5.8` Includes the following bugfixes: - quinn-rs/quinn#2072 - quinn-rs/quinn#2073 - quinn-rs/quinn#2074 - quinn-rs/quinn#2050 - quinn-rs/quinn#2047 Differential Revision: https://phabricator.services.mozilla.com/D231505 UltraBlame original commit: a8cd98601fdff821fe9cc516ddb61f54c104fb58
…chain-reviewers `quinn-udp` `v0.5.8` contains an intermediary fix for Bug 1916558, see quinn-rs/quinn#2071. In addition `quinn-udp` `v0.5.8` Includes the following bugfixes: - quinn-rs/quinn#2072 - quinn-rs/quinn#2073 - quinn-rs/quinn#2074 - quinn-rs/quinn#2050 - quinn-rs/quinn#2047 Differential Revision: https://phabricator.services.mozilla.com/D231505 UltraBlame original commit: a8cd98601fdff821fe9cc516ddb61f54c104fb58
With #2017, the concrete
send
implementations per platform are supposed to propagateio::Error
s. Those errors are then eiter logged and dropped inUdpSocketState::send
or further propagated inUdpSocketState::try_send
.The
fast_apple
send
implementation added in#1993 does not follow this pattern.
This commit adjusts the
fast_apple
implementation accordingly.