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

merged 2 commits into from Aug 25, 2016


None yet

3 participants

rgacogne commented Aug 5, 2016

Fixes #4105.

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


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.


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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment