You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new ReturnFlags type for flags returned from recvmsg (#1288)
* Add a new `ReturnFlags` type for flags returned from `recvmsg`
`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.
* Make `RecvMsgReturn`'s `Debug` impl not break no_std.
* Fix copypasta to avoid a unix domain socket collision.
* Windows lacks `MSG_EOR`.
* Fix VMIN/VEOF on AIX.
* Workaround limitations on Apple.
- Disable `RecvFlags::TRUNC` on Apple.
- Check for `AF_UNIX` socket addresses with no paths on Apple.
* Disable `RecvFlags::TRUNC` on illumos too.
* Disable `RecvFlags::TRUNC` on NetBSD too.
0 commit comments