Skip to content

feat(host): recursively resolve addresses #764

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
merged 1 commit into from
Dec 16, 2019
Merged

Conversation

Stebalien
Copy link
Member

We currently only resolve /dnsaddr addresses once. This patch resolves up to 32 dnsaddr addresses per dial.

fixes #744

We currently only resolve /dnsaddr addresses once. This patch resolves up to 32
dnsaddr addresses per dial.

fixes #744
@Stebalien Stebalien force-pushed the feat/recursive-dnsaddr branch from 4d27efd to e5d2869 Compare December 16, 2019 14:54
@Stebalien Stebalien requested a review from vyzo December 16, 2019 14:54
resolveSteps,
maxAddressResolution,
)
continue
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't this be a break?

Copy link
Member Author

Choose a reason for hiding this comment

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

I want to finish going through the addresses, adding any already resolved addresses. I just don't want to resolve any more.

Copy link
Contributor

Choose a reason for hiding this comment

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

ok, fair enough; just concerned about actually terminating the loop.

Copy link
Member Author

Choose a reason for hiding this comment

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

There's a test case for that.

(being able to say that is really a nice feeling)

@Stebalien Stebalien merged commit 756a598 into master Dec 16, 2019
This was referenced Jan 17, 2020
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.

Recursive dnsaddr resolution.
2 participants