Files
Rüdiger Klaehn 04807b674c fix(udp): handle receive errors before truncation flags in recv_single (#884)
## Description

Fixes #883.

## Notes & open questions

These are just two cherry-picks. Still needs review from somebody
familiar with the context.

Verified that
`recv_single_after_truncation_returns_would_block_instead_of_spin` fails
without the fix (macOS).

## Change checklist

- [x] Self-review.
- [ ] ~~Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.~~
- [x] Tests if relevant.
- [ ] ~~All API changes documented.~~
- [x] This PR was created by a human that thought critically about the
      proposed change and wrote an as clear and concise description as
      they could.
- [x] This PR isn't slop, and is carefully crafted to do have the
      intented effect.
- [x] `cargo make` passes locally.

---------

Co-authored-by: zerox80 <rujbin@protonmail.com>
Co-authored-by: Dirkjan Ochtman <dirkjan@ochtman.nl>
2026-11-04 16:58:09 +00:00
..
2026-02-27 14:57:21 +00:00
2026-02-27 14:57:21 +00:00
2026-03-09 14:45:33 +01:00