| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-05-03 | Move `std::sys::unix::ext` to `std::os::unix` | Christiaan Dirkx | -675/+0 | |
| 2021-05-02 | Change 'NULL' to 'null' | Brent Kerby | -2/+2 | |
| 2021-03-26 | unix: Fix feature(unix_socket_ancillary_data) on macos and other BSDs | Reyk Floeter | -23/+34 | |
| This adds support for CMSG handling on macOS and fixes it on OpenBSD and other BSDs. When traversing the CMSG list, the previous code had an exception for Android where the next element after the last pointer could point to the first pointer instead of NULL. This is actually not specific to Android: the `libc::CMSG_NXTHDR` implementation for Linux and emscripten have a special case to return NULL when the length of the previous element is zero; most other implementations simply return the previous element plus a zero offset in this case. This MR additionally adds `SocketAncillary::is_empty` because clippy is right that it should be added. | ||||
| 2021-02-28 | unix: Non-mutable bufs in send_vectored_with_ancillary_to | LinkTed | -5/+5 | |
| Change the arguments of `send_vectored_with_ancillary` and `send_vectored_with_ancillary_to` to take an non-mutable bufs. | ||||
| 2020-12-16 | Fix failing build of std on armv5te-unknown-linux-uclibceabi due to missing ↵ | Ondrej Perutka | -1/+5 | |
| cmsg_len_zero | ||||
| 2020-11-26 | Add comment for the previous android bug fix | LinkTed | -0/+4 | |
| 2020-11-24 | Bug fix for android platform, because of the wrong behavior of CMSG_NXTHDR | LinkTed | -0/+19 | |
| 2020-10-17 | Fix cannot find type `ucred` for MacOs by using fake definitions | LinkTed | -1/+1 | |
| 2020-10-10 | Fix `libc` is ambiguous for Windows | LinkTed | -9/+6 | |
| 2020-10-10 | Fix import errors for `#[cfg(doc)]` target | LinkTed | -2/+4 | |
| 2020-10-10 | Add fake definitions for Windows | LinkTed | -0/+10 | |
| 2020-10-10 | Change imports for `cfg(doc)` | LinkTed | -2/+2 | |
| 2020-10-10 | Remove unnecessary trailing semicolon | LinkTed | -1/+1 | |
| 2020-10-10 | Fix type mismatching for different OSes. | LinkTed | -41/+105 | |
| 2020-10-10 | Remove `SocketCred` for `emscripten` | LinkTed | -13/+9 | |
| 2020-10-10 | Add conditional compilation for import | LinkTed | -0/+1 | |
| 2020-10-10 | Add the code of the tracking issue | LinkTed | -25/+25 | |
| 2020-10-10 | Remove unsupported target_os for SocketCred | LinkTed | -125/+7 | |
| 2020-10-10 | Change standard types to libc types | LinkTed | -6/+8 | |
| 2020-10-10 | Change name of struct to SocketCred | LinkTed | -8/+8 | |
| 2020-10-10 | Change API to unsafe and add doc comments | LinkTed | -3/+20 | |
| 2020-10-10 | Add doc comments | LinkTed | -1/+21 | |
| 2020-10-10 | Add doc(cfg(...)) | LinkTed | -0/+7 | |
| 2020-10-10 | Move conditional compilation to the upper module and sort the target OS list ↵ | LinkTed | -189/+71 | |
| alphabetically | ||||
| 2020-10-10 | Remove unnecessary path | LinkTed | -1/+1 | |
| 2020-10-10 | Use `fill` instead of `memset` | LinkTed | -9/+16 | |
| 2020-10-10 | Remove lifetime annotation in `messages` function | LinkTed | -1/+1 | |
| 2020-10-10 | Remove `Clone` trait bound in `add_to_ancillary_data` | LinkTed | -1/+1 | |
| 2020-10-10 | Add integer overflow check | LinkTed | -1/+9 | |
| 2020-10-10 | Replace `TryFrom` of `AncillaryData` with a private method. | LinkTed | -23/+18 | |
| 2020-10-10 | Using `read_unaligned` instead of `memcpy`. | LinkTed | -8/+6 | |
| 2020-10-10 | Move `add_to_ancillary_data` and `AncillaryDataIter` to ancillary.rs | LinkTed | -5/+86 | |
| 2020-10-10 | Add UCred struct | LinkTed | -4/+45 | |
| 2020-10-10 | Add AncillaryError | LinkTed | -20/+33 | |
| 2020-10-10 | Split net.rs into multiple files | LinkTed | -0/+614 | |
