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

Remove DNS cache #2257

Merged
merged 1 commit into from
Feb 1, 2019
Merged

Remove DNS cache #2257

merged 1 commit into from
Feb 1, 2019

Conversation

marcioapm
Copy link
Contributor

Caching at this layer is not going to work, because we don't know the TTL.
Because of this cache, you might be in a situation where you try to connect to a host that is no longer there, or worse, you connect to a host that is not what you expected.

Caching at this layer is not going to work, because we don't know the TTL.
Because of this cache, you might be in a situation where you try to connect to a host that is no longer there, or worse, you connect to a host that is not what you expected.
@marcioapm
Copy link
Contributor Author

Meanwhile, there is no work-around :(

@s-ludwig
Copy link
Member

s-ludwig commented Feb 1, 2019

Sounds okay, though. This task should be done by an external caching DNS proxy or to some wrapper around resolveHost instead.

@s-ludwig s-ludwig merged commit 39367c9 into vibe-d:master Feb 1, 2019
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