-
Notifications
You must be signed in to change notification settings - Fork 13.4k
How should UDP handle partial packets? #9238
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
Comments
From the LibUV book:
So it seems to behave correctly. The problem is the user will never now that there was a partial read. |
CC @aturon |
This was addressed in the I/O reform by having |
Fix ICE in `miri_to_const` fixes rust-lang#9238 changelog: Fix ICE when using `#![feature(generic_const_exprs)]` in various lints
Our UDP reader silently truncates partial packets. Possibly we should raise a condition when this happens.
The text was updated successfully, but these errors were encountered: