Replacing RawFd with OwnedFd for compatibility with nix crate#26
Open
eesekaj wants to merge 14 commits intotormol:masterfrom
Open
Replacing RawFd with OwnedFd for compatibility with nix crate#26eesekaj wants to merge 14 commits intotormol:masterfrom
eesekaj wants to merge 14 commits intotormol:masterfrom
Conversation
2) Updated crates version. 3)Removed unused deps
…o stale status. Moved to Rust 2024 Added OwnedFd and BorrowedFd to comply with Rust specifications. Removed MIO and Tokio. Use AsyncFD and implement MIO for the type youself. (Maybe MIO will be readded later).
…: AncillaryBuf was left untouch, the FdSlice was removed, the AncillaryItem::Fds now returns OwnedFd. FreeBSD 15 does not pass some tests, the behaviour is different. Need investigation
…ates strange behaviour with message trancation and empty messages which is not compatiable Linux and FreeBSD 14. send_ancillary() memory managment modified
…oblem (related to what kernel returns)
…dFd. Functions which performs conversion from OwnedFd to Self perform check of the socket type. `NonblockingUnixSeqpacketListener` and `NonblockingUnixSeqpacketConn` is now have inside an instance of `UnixSeqpacketConn` and `UnixSeqpacketListener` respectivly which is set to non-blocking. Reorganised some functions
…gUnixSeqpacketListener`. Fixed `address already in use` problems in docs.
…te can be used on Windows to utilize the `UnixSocketAddr`. Added experimental support for unixstream in Windows i.e AF_UNIX SOCK_STREAM.
…o and comments. Fixed keywords count.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello,
Please find attached a pull request where the following changes were made:
OwnedFd is:
Tested with default features on GNU/Linux.