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 Jul 25, 2022
1 parent 027a289 commit 3d2a880
Show file tree
Hide file tree
Showing 2 changed files with 408 additions and 195 deletions.
Loading

0 comments on commit 3d2a880

Please sign in to comment.