-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
io: Bind to shutdown() for TCP streams
This is something that is plausibly useful, and is provided by libuv. This is not currently surfaced as part of the `TcpStream` type, but it may possibly appear in the future. For now only the raw functionality is provided through the Rtio objects.
- Loading branch information
1 parent
3316a0e
commit a63deeb
Showing
6 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a63deeb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from brson
at alexcrichton@a63deeb
a63deeb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging alexcrichton/rust/shutdown = a63deeb into auto
a63deeb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alexcrichton/rust/shutdown = a63deeb merged ok, testing candidate = 4443fb3
a63deeb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/4742
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/3830
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/3836
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/4744
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/3830
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/3835
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/3903
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/4740
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/3842
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/3848
success: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/4503
a63deeb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 4443fb3