[Bug 26897] New: Blank SIP message closes SIP server connection
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@lists.koha-community.org Reporter: nick@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: colin.campbell@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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26897 Ed Veal <eveal@mckinneytexas.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eveal@mckinneytexas.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26897 --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 114373 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114373&action=edit Bug 26897: Don't close SIP connection when empty message is received -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26897 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org --- Comment #2 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Nick, can you test this patch where you faced the problem? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org