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() #855
.as_raw_fd doesn't take the ownership of the fd, so the fd is closed when self is dropped. This was #147 , which was fixed, then apparently reintroduced.
Activity
yshui commentedon Aug 18, 2020
Ah, the test case only covers
UnixDatagram. I could've done better..os/unix/stream: stop into_raw_fd from closing the fd
Merge pull request #856 from yshui/master