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 1, 2022
1 parent 76f1aea commit 0e22637
Show file tree
Hide file tree
Showing 2 changed files with 408 additions and 195 deletions.
Loading

0 comments on commit 0e22637

Please sign in to comment.