Bugzilla – Attachment 189797 Details for
Bug 41271
pod_coverage.t unintentionally attempts to launch a SIP server when checking SIPServer.pm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41271: Dont run Net::Server::PreFork->run on 'require' or 'use'
Bug-41271-Dont-run-NetServerPreFork-run-on-require.patch (text/plain), 879 bytes, created by
Pedro Amorim
on 2025-11-20 15:59:05 UTC
(
hide
)
Description:
Bug 41271: Dont run Net::Server::PreFork->run on 'require' or 'use'
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2025-11-20 15:59:05 UTC
Size:
879 bytes
patch
obsolete
>From 5b24e5d079c0b0d3475cdc5b19ea494dc2979ebb Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@openfifth.co.uk> >Date: Thu, 20 Nov 2025 15:53:15 +0000 >Subject: [PATCH] Bug 41271: Dont run Net::Server::PreFork->run on 'require' or > 'use' > >By using 'unless caller' we ensure the class is not executed when Pod::Coverage->new does 'require C4/SIP/SIPServer.pm > >Ensure no regressions are added: >prove t/db_dependent/SIP/* > >koha-sip --restart kohadev >koha-sip --status kohadev >--- > C4/SIP/SIPServer.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/SIP/SIPServer.pm b/C4/SIP/SIPServer.pm >index dff3af28b18..4cccd670af9 100644 >--- a/C4/SIP/SIPServer.pm >+++ b/C4/SIP/SIPServer.pm >@@ -91,7 +91,7 @@ push @params, 'group=' . $>; > > # > # This is the main event. >-__PACKAGE__->run(@params); >+__PACKAGE__->run(@params) unless caller; > > # > # Server >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41271
:
189713
|
189797
|
189798
|
189799
|
189828
|
189829
|
189830