From fe7647bdece2401efdec0a43bae01212fe13790b Mon Sep 17 00:00:00 2001 From: Tomer Filiba Date: Tue, 8 May 2012 16:02:25 +0300 Subject: [PATCH] Signed-off-by: Guy Rozendorn Conflicts: rpyc/utils/server.py (cherry picked from commit 779ba40ac17286968c7a27e1ab3fd573c465b13d) Signed-off-by: Guy Rozendorn --- rpyc/utils/server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpyc/utils/server.py b/rpyc/utils/server.py index 80c830de..d7a913fd 100644 --- a/rpyc/utils/server.py +++ b/rpyc/utils/server.py @@ -504,7 +504,8 @@ def _accept_method(self, sock): try: self.logger.debug("child process created") signal.signal(signal.SIGCHLD, self._prevhandler) - signal.siginterrupt(signal.SIGCHLD, False) # issue #76 + #76: call signal.siginterrupt(False) in forked child + signal.siginterrupt(signal.SIGCHLD, False) self.listener.close() self.clients.clear() self._authenticate_and_serve_client(sock)