From: Otto Moerbeek Date: Fri, 3 Jul 2020 08:33:29 +0000 (+0200) Subject: Tell other threads to stop when a fatal issue occurs. X-Git-Tag: rec-4.4.0-beta1~56^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc3831aab055c4fbeeb880a9b3362d1d6e31e2cc;p=thirdparty%2Fpdns.git Tell other threads to stop when a fatal issue occurs. Theer are more spots where this should be done. --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 26439271a6..222d8300a4 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -4729,6 +4729,7 @@ try if (threadInfo.isHandler) { if (!primeHints()) { threadInfo.exitCode = EXIT_FAILURE; + RecursorControlChannel::stop = 1; g_log<