Skip to content

Commit 19c83af

Browse files
committed
reimplement recvmsg/sendmmsg
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() }; ```
1 parent 7f0fdf2 commit 19c83af

File tree

2 files changed

+420
-197
lines changed

2 files changed

+420
-197
lines changed

0 commit comments

Comments
 (0)