1
This tweaks the timeout for parent queries when they spawn a child query
2
to solve a glueless NS or incomplete CNAME; I'm increasing it to get fewer
3
SERVER FAILs when resolving complex names.
5
--- deadwood-2.9.03/src/DwRecurse.c.orig 2010-08-03 15:19:47.000000000 -0700
6
+++ deadwood-2.9.03/src/DwRecurse.c 2010-08-03 15:20:09.000000000 -0700
9
make_remote_connection(new_conn_num,(unsigned char *)packet->str,
10
packet->len,rem[new_conn_num].query,INVALID_SOCKET);
11
- rem[conn_number].die = get_time() + ((int64_t)timeout_seconds << 10);
12
+ rem[conn_number].die = get_time() + ((int64_t)timeout_seconds << 12);
13
rem[conn_number].child_id = new_conn_num;
14
/* Set new connection parameters */
15
rem[new_conn_num].die = get_time() + ((int64_t)timeout_seconds << 8);