Package: liblemonldap-ng-handler-perl
Version: 0.9.4.1-4
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


sub cleanLocalStorage must not be called at each request since keys are purged 
when read.

- -- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (800, 'testing'), (600, 'unstable'), (600, 'stable'), (100, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-vserver-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages liblemonldap-ng-handler-perl depends on:
ii  libapache-session-perl        1.87-1     Perl modules for keeping persisten
ii  libapache2-mod-perl2          2.0.4-7    Integration of perl with the Apach
ii  libcache-cache-perl           1.06-1     Managed caches of persistent infor
ii  liblemonldap-ng-conf-perl     0.9.4.1-4  Lemonldap::NG common files
ii  liburi-perl                   1.54-1     module to manipulate and access UR
ii  libwww-perl                   5.836-1    Perl HTTP/WWW client/server librar

liblemonldap-ng-handler-perl recommends no packages.

Versions of packages liblemonldap-ng-handler-perl suggests:
ii  liblemonldap-ng-portal-perl   0.9.4.1-4  Lemonldap::NG authentication porta

- -- debconf-show failed

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkyxc8UACgkQZ9okSKmj7dWyEwCguN3CTCAAimz+sitv69WSyhPX
0uIAnRmOStpbkb/agIUs4mtnawTMlf6B
=jVdF
-----END PGP SIGNATURE-----
diff -aburN ../lemonldap-ng-0.9.4.1//lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm ./lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm
--- ../lemonldap-ng-0.9.4.1//lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm	2010-10-10 09:47:16.000000000 +0200
+++ ./lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm	2010-10-10 09:51:04.000000000 +0200
@@ -951,9 +951,6 @@
     $apacheRequest->push_handlers(
         PerlLogHandler => sub { $class->logGranted( $uri, $datas ); DECLINED },
     );
-    $apacheRequest->push_handlers(
-        PerlCleanupHandler => sub { $class->cleanLocalStorage(@_); DECLINED },
-    );
 
     if ( defined( $transform->{$uri} ) ) {
         return &{ $transform->{$uri} };
@@ -1081,18 +1078,6 @@
     return OK;
 }
 
-#################
-# OTHER METHODS #
-#################
-
-## @rmethod protected int cleanLocalStorage()
-# Clean expired values from the local cache.
-# @return Apache2::Const::DECLINED
-sub cleanLocalStorage {
-    $refLocalStorage->purge() if ($refLocalStorage);
-    return DECLINED;
-}
-
 1;
 __END__
 
diff -aburN ../lemonldap-ng-0.9.4.1//lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm ./lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm
--- ../lemonldap-ng-0.9.4.1//lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm	2010-10-10 09:47:16.000000000 +0200
+++ ./lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Simple.pm	2010-10-10 09:51:04.000000000 +0200
@@ -951,9 +951,6 @@
     $apacheRequest->push_handlers(
         PerlLogHandler => sub { $class->logGranted( $uri, $datas ); DECLINED },
     );
-    $apacheRequest->push_handlers(
-        PerlCleanupHandler => sub { $class->cleanLocalStorage(@_); DECLINED },
-    );
 
     if ( defined( $transform->{$uri} ) ) {
         return &{ $transform->{$uri} };
@@ -1081,18 +1078,6 @@
     return OK;
 }
 
-#################
-# OTHER METHODS #
-#################
-
-## @rmethod protected int cleanLocalStorage()
-# Clean expired values from the local cache.
-# @return Apache2::Const::DECLINED
-sub cleanLocalStorage {
-    $refLocalStorage->purge() if ($refLocalStorage);
-    return DECLINED;
-}
-
 1;
 __END__
 

Reply via email to