[Koha-bugs] [Bug 27151] SIP2 server doesn't handle broken connections which then kills SIP2 server

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 9 13:39:48 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27151

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart at bugs.koha-c
                   |                            |ommunity.org

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Would the following change work?

diff --git a/C4/SIP/SIPServer.pm b/C4/SIP/SIPServer.pm
index 8d5be71624..36d7606b0b 100644
--- a/C4/SIP/SIPServer.pm
+++ b/C4/SIP/SIPServer.pm
@@ -28,6 +28,8 @@ use base qw(Net::Server::PreFork);

 use constant LOG_SIP => "local6"; # Local alias for the logging facility

+$SIG{PIPE} = "IGNORE";
+
 #
 # Main  # not really, since package SIPServer
 #

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list