You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
socket closed after UnixStream::into_raw_fd() #147
UnixStream holds a IoHandle<mio_uds::UnixStream> which is not correctly disposed of in into_raw_fd, resulting in the returned file descriptor being closed when into_raw_fd returns, making the function useless.
Activity
yshui commentedon Sep 5, 2019
I think the best way is to
impl<T: IntoRawFd> IntoRawFd for IoHandle<T>and use that, instead of keeping a copy of the RawFd.Merge #148
yshui commentedon Aug 18, 2020
This bug is reintroduced..