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

Don't try to convert hostnames to addresses in addr_pton() #61

Merged
merged 5 commits into from
Dec 22, 2020

Conversation

dwmcrobb
Copy link
Contributor

addr_pton() should only work on address strings and not call the resolver. Especially in a dual-stack world where AAAA and A records for the same hostname are very common.

dwmcrobb and others added 3 commits December 19, 2020 22:41
…() should only work on address strings and not call the resolver. Especially in a dual-stack world where AAAA and A records for the same hostname are very common.
@ofalk ofalk self-assigned this Dec 21, 2020
Copy link
Owner

@ofalk ofalk left a comment

Choose a reason for hiding this comment

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

Apart from the README, I like the changes. So if you could remove the change to the README, I'd love to approve this!

@dwmcrobb
Copy link
Contributor Author

Oops, very sorry about the README. Long-time git user but new github user and didn't know what do do with the README and didn't want to make it look like I just stole everything! I'll revert it.

@dwmcrobb
Copy link
Contributor Author

dwmcrobb commented Dec 22, 2020

Reverted the README.md on the master branch I had created as well as the addr_pton-no-gethostbyname branch.

@ofalk ofalk merged commit 100f5b5 into ofalk:master Dec 22, 2020
@dwmcrobb dwmcrobb deleted the addr_pton-no-gethostbyname branch December 23, 2020 21:57
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.

2 participants