Skip to content

Commit 7424de0

Browse files
committed
reimplement recvmsg
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 afaec50 commit 7424de0

File tree

2 files changed

+292
-115
lines changed

2 files changed

+292
-115
lines changed

0 commit comments

Comments
 (0)