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

Merged
merged 2 commits into from Aug 25, 2016

Projects

None yet

3 participants

@rgacogne
Member
rgacogne commented Aug 5, 2016

Fixes #4105.

@rgacogne rgacogne added the rec label Aug 5, 2016
@Habbie
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
Member

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
Member

Added a asyncConnect option to prevent hanging during startup.

@ahupowerdns ahupowerdns merged commit e87840b into PowerDNS:master Aug 25, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment