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

Add a new ReturnFlags type for flags returned from recvmsg #1288

Merged
merged 10 commits into from
Jan 30, 2025

Conversation

sunfishcode
Copy link
Member

RecvMsgReturn's flags field was previously RecvFlags, however recvmsg returns a different set of flags than that. To address that, add a new type, ReturnFlags, which contains the flags that are returned from recvmsg.

Fixes #1287.

`RecvMsgReturn`'s `flags` field was previously `RecvFlags`, however
`recvmsg` returns a different set of flags than that. To address that,
add a new type, `ReturnFlags`, which contains the flags that are
returned from `recvmsg`.

Fixes #1287.
 - Disable `RecvFlags::TRUNC` on Apple.
 - Check for `AF_UNIX` socket addresses with no paths on Apple.
@sunfishcode sunfishcode force-pushed the sunfishcode/return-flags branch from c5bbdd6 to 18753ea Compare January 29, 2025 19:57
@sunfishcode sunfishcode merged commit 253582d into main Jan 30, 2025
45 checks passed
@sunfishcode sunfishcode deleted the sunfishcode/return-flags branch January 30, 2025 00:02
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.

Feature request: add missing RecvFlags for recvmsg
1 participant