summaryrefslogtreecommitdiff
path: root/netsvcs/lib/Server_Logging_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'netsvcs/lib/Server_Logging_Handler.cpp')
-rw-r--r--netsvcs/lib/Server_Logging_Handler.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/netsvcs/lib/Server_Logging_Handler.cpp b/netsvcs/lib/Server_Logging_Handler.cpp
index 5f18494fb3c..67c67ee4e74 100644
--- a/netsvcs/lib/Server_Logging_Handler.cpp
+++ b/netsvcs/lib/Server_Logging_Handler.cpp
@@ -131,12 +131,6 @@ ACE_Server_Logging_Acceptor::init (int argc,
"acceptor::open failed",
this->service_addr_.get_port_number ()), -1);
- // Register ourselves to receive SIGINT so we can shutdown
- // gracefully.
- if (this->reactor ()->register_handler (SIGINT, this) == -1)
- ACE_ERROR_RETURN ((LM_ERROR, "%n: %p\n",
- "register_handler (SIGINT)"), -1);
-
// Ignore SIGPIPE so that each <SVC_HANDLER> can handle this on its
// own.
ACE_Sig_Action sig (ACE_SignalHandler (SIG_IGN), SIGPIPE);
@@ -364,12 +358,6 @@ ACE_Thr_Server_Logging_Acceptor::init (int argc,
"acceptor::open failed",
this->service_addr_.get_port_number ()), -1);
- // Register ourselves to receive SIGINT so we can shutdown
- // gracefully.
- if (this->reactor ()->register_handler (SIGINT, this) == -1)
- ACE_ERROR_RETURN ((LM_ERROR, "%n: %p\n",
- "register_handler (SIGINT)"), -1);
-
// Ignore SIGPIPE so that each <SVC_HANDLER> can handle this on its
// own.
ACE_Sig_Action sig (ACE_SignalHandler (SIG_IGN), SIGPIPE);