From 9cc889d0ac25f4e9783a87f3f6cb0bcfa79c5c88 Mon Sep 17 00:00:00 2001 From: David Timber Date: Mon, 26 Apr 2021 18:00:52 +1000 Subject: 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 --- src/proone-bne.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/proone-bne.c') diff --git a/src/proone-bne.c b/src/proone-bne.c index e3165b6..20fb24b 100644 --- a/src/proone-bne.c +++ b/src/proone-bne.c @@ -4,6 +4,7 @@ #include #include +#include #include #include #include @@ -186,6 +187,8 @@ int main (const int argc, const char **args) { pth_event_t ev_root = NULL; prne_llist_t wkr_list; + signal(SIGPIPE, SIG_IGN); + prne_init_cred_dict(&dict); prne_init_bne_param(¶m); prne_init_bin_archive(&ba); -- cgit