aboutsummaryrefslogtreecommitdiff
path: root/src/resolv.c
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2021-04-26 18:00:52 +1000
committerDavid Timber <mieabby@gmail.com>2021-04-26 18:00:52 +1000
commit9cc889d0ac25f4e9783a87f3f6cb0bcfa79c5c88 (patch)
tree12659bd5577977c820ab991cebb46b291136bb92 /src/resolv.c
parent7e065471e598c9bc0a1799ff2caa8c799d76c003 (diff)
Tweak and bug fix
* Increase socket operation timeout of htbt and resolv * htbt: use of term "jitter" * htbt: Fix bug where debug print is not suppresses when `PRNE_VERBOSE < PRNE_VL_DBG0` * Fix crash bug caused by SIGPIPE * Proone: `sleep(1)` when fork fails
Diffstat (limited to 'src/resolv.c')
-rw-r--r--src/resolv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolv.c b/src/resolv.c
index 40ea997..c841e4e 100644
--- a/src/resolv.c
+++ b/src/resolv.c
@@ -109,7 +109,7 @@ const prne_resolv_ns_pool_t PRNE_RESOLV_DEF_IPV6_POOL = {
static const struct timespec RESOLV_RSRC_ERR_PAUSE = { 1, 0 }; // 1s
static const struct timespec RESOLV_CONN_ERR_PAUSE = { 0, 100 }; // 100ms
-static const struct timespec RESOLV_QUERY_TIMEOUT = { 15, 0 }; // 15s
+static const struct timespec RESOLV_QUERY_TIMEOUT = { 60, 0 }; // 60s
static const struct timespec RESOLV_SCK_OP_TIMEOUT = { 10, 0 }; // 10s
static const struct timespec RESOLV_SCK_IDLE_TIMEOUT = { 15, 0 }; // 15s
static const struct timespec RESOLV_SCK_CLOSE_TIMEOUT = { 1, 0 }; // 1s