Bugzilla – Attachment 95415 Details for
Bug 23640
L1 cache too long in SIP Server
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23640: Flushing L1 on every SIP connection
Bug-23640-Flushing-L1-on-every-SIP-connection.patch (text/plain), 1.00 KB, created by
Jonathan Druart
on 2019-11-14 09:51:08 UTC
(
hide
)
Description:
Bug 23640: Flushing L1 on every SIP connection
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-11-14 09:51:08 UTC
Size:
1.00 KB
patch
obsolete
>From 2056f1666c52b7901868147c80b75c70567dbfed Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 14 Nov 2019 10:50:24 +0100 >Subject: [PATCH] Bug 23640: Flushing L1 on every SIP connection > >--- > C4/SIP/SIPServer.pm | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/C4/SIP/SIPServer.pm b/C4/SIP/SIPServer.pm >index 63880c9eb7..81682dc6cb 100755 >--- a/C4/SIP/SIPServer.pm >+++ b/C4/SIP/SIPServer.pm >@@ -16,6 +16,7 @@ use C4::SIP::Sip::Constants qw(:all); > use C4::SIP::Sip::Configuration; > use C4::SIP::Sip::Checksum qw(checksum verify_cksum); > use C4::SIP::Sip::MsgType qw( handle login_core ); >+use Koha::Caches; > > use base qw(Net::Server::PreFork); > >@@ -91,6 +92,9 @@ sub process_request { > > $self->{config} = $config; > >+ # Flushing L1 to make sure the request will be processed using the correct data >+ Koha::Caches->flush_L1_caches(); >+ > my $sockname = getsockname(STDIN); > > # Check if socket connection is IPv6 before resolving address >-- >2.11.0
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 23640
:
95415
|
98515
|
98585