Skip to content
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

Implement Clone for TcpStream #689

Merged
3 commits merged into from Jan 28, 2020
Merged

Implement Clone for TcpStream #689

3 commits merged into from Jan 28, 2020

Conversation

ghost
Copy link

@ghost ghost commented Jan 28, 2020

This PR complements #642, it doesn't replace it. We should probably still consider adding try_clone() which duplicates the file descriptor instead of simply cloning the internal Arc.

@ghost ghost requested a review from yoshuawuyts January 28, 2020 15:43
Copy link
Contributor

@yoshuawuyts yoshuawuyts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@ghost ghost merged commit 1d87583 into async-rs:master Jan 28, 2020
@ghost ghost deleted the clone-for-tcpstream branch January 28, 2020 17:14
@jbr jbr mentioned this pull request May 11, 2020
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant