-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UdpSocket is missing close_{read,write} #14926
Comments
I began working on this issue. My work in progress is at 68bf86e. It seems like getting libnative working properly won't be that difficult but I'm pretty lost when it comes to libgreen. Any pointers on what is necessary there? |
The relevant file would be Thinking about it a bit, I'm not sure if it makes sense to provide a |
Would it be preferable to just replace close_read/close_write with a single close that uses SHUTDOWN_BOTH? |
A single |
This is being handled by rust-lang/rfcs#807. |
I think this issue might need to be re-opened... As part of the IO reform, I believe a shutdown method was supposed to be added to UdpSocket (the docs for std::io::Shutdown mention that it should exist). However, the method doesn't exist yet, and rfc 807 appears to be closed |
Oops yes this is definitely an oversight, I've opened a new issue as this isn't quite appropriate any more. |
These weren't added recently, and I don't think there's a fundamental reason for not offering this, so we should probably offer it.
The text was updated successfully, but these errors were encountered: