From 5bd2ea7bee2006a7a0719e916ffbd00894be2e5d Mon Sep 17 00:00:00 2001 From: bert hubert Date: Tue, 7 Nov 2017 09:21:30 +0100 Subject: [PATCH] use _exit() when we really really want to exit, for example after a fatal error. Stops is dying while we die. --- pdns/communicator.cc | 12 ++++++------ pdns/dnsproxy.cc | 2 +- pdns/tcpreceiver.cc | 8 ++++---- pdns/webserver.cc | 2 +- pdns/ws-auth.cc | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/pdns/communicator.cc b/pdns/communicator.cc index 06b92d2b9..e73eecb8f 100644 --- a/pdns/communicator.cc +++ b/pdns/communicator.cc @@ -66,7 +66,7 @@ void CommunicatorClass::loadArgsIntoSet(const char *listname, set &lists } catch(PDNSException &e) { L< 0) { @@ -1285,7 +1285,7 @@ TCPNameserver::TCPNameserver() int tmp=1; if(setsockopt(s,SOL_SOCKET,SO_REUSEADDR,(char*)&tmp,sizeof tmp)<0) { L< 0) { @@ -1354,7 +1354,7 @@ void TCPNameserver::thread() if(errno==EMFILE) { L<