Commit 03fddc0d authored by Jelte Jansen's avatar Jelte Jansen
Browse files

propagate timeout/retries values

apparently these weren't passed on to the recursivequery class
(anymore?), resulting in the use of hardcoded defaults -1 and 0. This
one-line change fixes that, acked by Michal on jabber.
parent 332f90f4
......@@ -76,7 +76,7 @@ public:
void querySetup(DNSService& dnss) {
assert(!rec_query_); // queryShutdown must be called first
dlog("Query setup");
rec_query_ = new RecursiveQuery(dnss, upstream_);
rec_query_ = new RecursiveQuery(dnss, upstream_, timeout_, retries_);
}
void queryShutdown() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment