Skip to content

Commit 9e80118

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 06ab978 commit 9e80118

File tree

2 files changed

+292
-115
lines changed

2 files changed

+292
-115
lines changed

0 commit comments

Comments
 (0)