Skip to content

Commit

Permalink
reimplement recvmsg
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 Jun 13, 2022
1 parent 06ab978 commit 9e80118
Show file tree
Hide file tree
Showing 2 changed files with 292 additions and 115 deletions.
Loading

0 comments on commit 9e80118

Please sign in to comment.