[Koha-bugs] [Bug 26897] New: Blank SIP message closes SIP server connection

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 2 16:15:26 CET 2020


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

            Bug ID: 26897
           Summary: Blank SIP message closes SIP server connection
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: SIP2
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: colin.campbell at ptfs-europe.com

in SIPServer.pm
sub sip_protocol_loop
308         my $previous_alarm = alarm($timeout);
309 
310         while ( my $inputbuf = read_request() ) {
311             if ( !defined $inputbuf ) {
312                 return;    #EOF
313             }


It seems some machines can send an empty response when sending store and
forward requests. Rather than close on an empty string we should just ignore
and keep processing, only disconnecting when requested or when timed out

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


More information about the Koha-bugs mailing list