- Fix unbound-dnstap-socket to not use log routine from interrupt

handler and not print so frequently when invoked in sequence.
This commit is contained in:
W.C.A. Wijngaards 2020-12-02 11:51:54 +01:00
parent 16c496bff6
commit eb052e1543
2 changed files with 4 additions and 1 deletions

View File

@ -1166,7 +1166,8 @@ int sig_quit = 0;
/** signal handler for user quit */
static RETSIGTYPE main_sigh(int sig)
{
verbose(VERB_ALGO, "exit on signal %d\n", sig);
if(!sig_quit)
fprintf(stderr, "exit on signal %d\n", sig);
if(sig_base) {
ub_event_base_loopexit(sig_base);
sig_base = NULL;

View File

@ -3,6 +3,8 @@
connections fail, in that case we print a hint that this is
happening with the error in the logs.
- Fix #356: deadlock when listening tcp.
- Fix unbound-dnstap-socket to not use log routine from interrupt
handler and not print so frequently when invoked in sequence.
1 December 2020: Wouter
- Fix #358: Squelch udp connect 'no route to host' errors on low