bytecodealliance / bytecodealliance/rustix
Add the ability to set HANDLE_FLAG_INHERIT for Windows sockets
Open
enhancement
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 294
- Avg merge
- 4h 7m
- Merged PRs (30d)
- 2
Description
This is basically the Windows equivalent of CLOEXEC. Two ways of going about this:
- Add a `INHERIT` flag to `SocketFlags` on Windows.
- Make the value for `CLOEXEC` on Windows be `HANDLE_FLAG_INHERIT`.
The second option might make more sense but also might be a footgun.
Contributor guide
Assessment
This issue has not been assessed yet.