Skip to content

Commit

Permalink
reimplement recvmsg/sendmmsg
Browse files Browse the repository at this point in the history
New implementation performs no allocations after all the necessary
structures are created, removes potentially unsound code that
was used by the old version (see below) and adds a bit more
documentation about bugs in how timeout is actually handled

```
    let timeout = if let Some(mut t) = timeout {
        t.as_mut() as *mut libc::timespec
    } else {
        ptr::null_mut()
    };
```
  • Loading branch information
pacak committed Aug 12, 2022
1 parent 7950b8b commit 5b87fb4
Show file tree
Hide file tree
Showing 2 changed files with 418 additions and 196 deletions.
Loading

0 comments on commit 5b87fb4

Please sign in to comment.