[Catalyst-commits] r7723 - in
trunk/Catalyst-Plugin-Session-Store-FastMmap: .
lib/Catalyst/Plugin/Session/Store
bricas at dev.catalyst.perl.org
bricas at dev.catalyst.perl.org
Thu May 8 18:55:10 BST 2008
Author: bricas
Date: 2008-05-08 18:55:10 +0100 (Thu, 08 May 2008)
New Revision: 7723
Modified:
trunk/Catalyst-Plugin-Session-Store-FastMmap/Changes
trunk/Catalyst-Plugin-Session-Store-FastMmap/lib/Catalyst/Plugin/Session/Store/FastMmap.pm
Log:
die when Cache::FastMmap::set() returns false value (RT #33667)
Modified: trunk/Catalyst-Plugin-Session-Store-FastMmap/Changes
===================================================================
--- trunk/Catalyst-Plugin-Session-Store-FastMmap/Changes 2008-05-08 15:19:37 UTC (rev 7722)
+++ trunk/Catalyst-Plugin-Session-Store-FastMmap/Changes 2008-05-08 17:55:10 UTC (rev 7723)
@@ -1,16 +1,20 @@
+0.06 XXX
+ - die when Cache::FastMmap::set() returns false value (RT #33667)
+
0.05 16 Jan 2008
- removed all Module::Build cruft - karman
-0.04 - patch for Class::C3 compatability - karman
+0.04
+ - patch for Class::C3 compatability - karman
-0.03
+0.03 02 Jul 2007
- Add support for Win32 by using Cache::FastMmap::WithWin32 on MS
platforms --Ash Berlin
-0.02 2005-12-29 10:43:00
+0.02 01 Jan 2006
- Workaround Storable/Cache::FastMmap limitation with non reference
data
-0.01
+0.01 14 Nov 2005
- Initial release.
Modified: trunk/Catalyst-Plugin-Session-Store-FastMmap/lib/Catalyst/Plugin/Session/Store/FastMmap.pm
===================================================================
--- trunk/Catalyst-Plugin-Session-Store-FastMmap/lib/Catalyst/Plugin/Session/Store/FastMmap.pm 2008-05-08 15:19:37 UTC (rev 7722)
+++ trunk/Catalyst-Plugin-Session-Store-FastMmap/lib/Catalyst/Plugin/Session/Store/FastMmap.pm 2008-05-08 17:55:10 UTC (rev 7723)
@@ -71,7 +71,8 @@
sub store_session_data {
my ( $c, $sid, $data ) = @_;
- $c->_session_fastmmap_storage->set( $sid, $data );
+ $c->_session_fastmmap_storage->set( $sid, $data )
+ or Catalyst::Exception->throw("store_session: data too large");
}
sub delete_session_data {
More information about the Catalyst-commits
mailing list