Skip to content

Implement an async version of ToSocketAddrs #74

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

Merged
14 commits merged into from
Sep 4, 2019
Merged

Implement an async version of ToSocketAddrs #74

14 commits merged into from
Sep 4, 2019

Conversation

DCjanus
Copy link
Contributor

@DCjanus DCjanus commented Aug 18, 2019

Resolve #50

@skade skade assigned ghost Aug 18, 2019
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Thank you for the PR! I think we only need to replace the Output associated type with a "hack" that simulates async fn in traits.

@DCjanus
Copy link
Contributor Author

DCjanus commented Aug 20, 2019

Force pushed to rebase on master

@stjepang Hi, after a long day, I've created a commit to replace std::net::ToSocketAddrs with async_std::net::ToSocketAddrs, would you mind review again. Thanks.

@ghost
Copy link

ghost commented Aug 26, 2019

Could you perhaps incorporate changes from https://github.com/DCjanus/async-std/pull/1 here? In particular, let's remove the new re-exports and move tests into the tests directory. At the same time, let's also delete unit tests that are not relevant to ToSocketAddrs.

@skade
Copy link
Collaborator

skade commented Sep 3, 2019

@stjepang is this ready to merge?

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Some small tweaks are needed and then we'll be ready to merge.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

This looks good to me now. Thanks for driving the PR to completion

@ghost
Copy link

ghost commented Sep 4, 2019

bors r+

bors bot added a commit that referenced this pull request Sep 4, 2019
74: Implement an async version of ToSocketAddrs r=stjepang a=DCjanus

Resolve #50 

Co-authored-by: DCjanus <dcjanus@dcjanus.com>
Co-authored-by: Stjepan Glavina <stjepang@gmail.com>
@ghost ghost merged commit 238a3c8 into async-rs:master Sep 4, 2019
moh-eulith pushed a commit to moh-eulith/async-std that referenced this pull request Mar 31, 2022
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.

TcpListener::bind, etc. may block
4 participants