-
-
Notifications
You must be signed in to change notification settings - Fork 277
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
Resolve hostnames asynchronously #12
Conversation
This looks great! I'll go over it in the next few days. |
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.
This is really great work. Looks like you put a lot of effort in here - I really like it and would love to see it merged ASAP.
Once the issues in the comments are addressed, I'd be happy to merge this. If at any point you find you don't have enough time, or are stuck - please let me know. I'd be happy to discuss solutions, alternatives, or to dive in and do some of the work as well.
Thanks for this! Looking forward to continuing the merge.
Hey, just a heads-up, I'm waiting for this issue to be solved. Tokio 0.2.0 was released two days ago and broke a bit the ecosystem, dependent crates are catching up. |
Thanks for the update! (and no rush, of course) |
It seems that the issue I mentioned can't be fixed until next week because some dependency is blocking it. For the moment I've done as the author suggests and I'm using the branch that will be merged when the issue is solved. We should either not merge this PR until the issue is solved or change the version in I think I've dealt with all the suggestions, let me know what you think! |
752125d
to
9c09455
Compare
Hey, just squashed and rebased on top of the new changes in master to solve the conflicts |
You are extremely fast :D Still merging |
9c09455
to
375d469
Compare
The changes look great. I especially liked the naming (eg. I also took it out for a spin and it works really fast! About the Let's give it a week until we merge and if it's not over by then, we'll think up another solution for it. Sounds okay? Meanwhile I'm going to hold off on releasing the other changes in master. |
Sounds good to me! |
This fixes the build problems with the previous latest trust-dns version from crates.io
A new version of trust-dns was released 🎉 |
Resolves #6
Thanks for the tool, I love it!
So, in addition of resolving the hostnames in a thread pool I went for making it asynchronous. It should be more performant as we will not block the threads waiting for the response from the dns servers. Let me know if you like the approach.
I have doubts about some changes I made, I will leave some comments.