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

rec: Respect the timeout when connecting to a protobuf server #4288

Merged
merged 2 commits into from
Aug 25, 2016

Conversation

rgacogne
Copy link
Member

@rgacogne rgacogne commented Aug 5, 2016

Fixes #4105.

@rgacogne rgacogne added the rec label Aug 5, 2016
@Habbie
Copy link
Member

Habbie commented Aug 15, 2016

A quick read suggests the recursor might still hang (and not answer queries) for the set timeout, is that right?

@rgacogne
Copy link
Member Author

During startup, yes, to be able to display a message indicating that the server couldn't be reached. I guess I could add an option to not block at all.

@rgacogne
Copy link
Member Author

Added a asyncConnect option to prevent hanging during startup.

@ahupowerdns ahupowerdns merged commit e87840b into PowerDNS:master Aug 25, 2016
@rgacogne rgacogne deleted the rec-async-protobuf-startup branch March 1, 2023 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants