[Tickets #2913] RESOLVED: memcached session locking

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Dec 5 08:09:20 PST 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2913
-----------------------------------------------------------------------
 Ticket             | 2913
 Updated By         | kevin_myer at iu13.org
 Summary            | memcached session locking
 Queue              | Horde Framework Packages
 Version            | HEAD
 State              | Resolved
 Priority           | 1. Low
 Type               | Enhancement
 Owners             | Horde Developers
-----------------------------------------------------------------------


kevin_myer at iu13.org (2005-12-05 08:09) wrote:

> I'd propose a slightly different fix - if you call _unlockSession 
> without an $id, it's doing nothing.
>
> I think this patch would be desired behaviour - remove the flock, 
> then remove the file itself.

Argh, except, close() isn't setup to take $id as an argument, so that call
to _unlockSession fails..  I missed the introduction of the $_fp resource. 
In which case, the original patch is more or less correct.





More information about the bugs mailing list