-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Normalize calling tcp.shutdown multiple times across OSes #25164
Labels
A-docs
Area: documentation for any part of the project, including the compiler, standard library, and tools
Comments
Tagging as libs until the decision is made that this is different across platforms. |
I don’t think we can do anything sensible here. |
Triage: re-tagging as docs to make mention of this |
steveklabnik
added
the
A-docs
Area: documentation for any part of the project, including the compiler, standard library, and tools
label
Mar 10, 2017
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Apr 26, 2017
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
Apr 26, 2017
Address platform-specific behavior in TcpStream::shutdown Fixes rust-lang#25164 r? @rust-lang/libs from the GitHub thread, it seems like documenting this behavior is okay, but I want to make sure that's what you want.
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
Apr 26, 2017
Address platform-specific behavior in TcpStream::shutdown Fixes rust-lang#25164 r? @rust-lang/libs from the GitHub thread, it seems like documenting this behavior is okay, but I want to make sure that's what you want.
arielb1
pushed a commit
to arielb1/rust
that referenced
this issue
Apr 26, 2017
Address platform-specific behavior in TcpStream::shutdown Fixes rust-lang#25164 r? @rust-lang/libs from the GitHub thread, it seems like documenting this behavior is okay, but I want to make sure that's what you want.
arielb1
pushed a commit
to arielb1/rust
that referenced
this issue
Apr 26, 2017
Address platform-specific behavior in TcpStream::shutdown Fixes rust-lang#25164 r? @rust-lang/libs from the GitHub thread, it seems like documenting this behavior is okay, but I want to make sure that's what you want.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-docs
Area: documentation for any part of the project, including the compiler, standard library, and tools
Calling
tcp.shutdown(how)
multiple times will return different values, depending on the OS. On Linux, it returnsOk(())
, on OS X, it returnsErrorKind::NotConnected
.Perhaps this behavior could be made to be the same across platforms. If not, at the least, the docs should call it out.
Noticed from hyperium/hyper#508
/cc @aturon @alexcrichton
The text was updated successfully, but these errors were encountered: