-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and tools
Description
Calling tcp.shutdown(how)
multiple times will return different values, depending on the OS. On Linux, it returns Ok(())
, on OS X, it returns ErrorKind::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
Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and tools