[Catalyst] ::Session::Store::FastMmap issues

Florian Ragwitz rafl at debian.org
Wed Oct 17 20:28:35 GMT 2007


Hi,

there is an issue with the Cache::FastMmap store for the Session plugin.
When $c->session contains some large very data structures
Cache::FastMmap refuses to store them for whatever reason and returns
false when calling ->set on it.

However Catalyst::Plugin::Session::Store::FastMmap doesn't check the
return value of set and therefor causes session data to be lost
silently.

This sucks and I'd like to be able to see when that happens to ease
debugging. Loudly failing would probably not be a good solution here,
but a warning would probably be helpful.


-Flo

-- 
BOFH excuse #297:
Too many interrupts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20071017/c079bf59/attachment.pgp


More information about the Catalyst mailing list