This patch adds the possibility that lock can expire, which allows to avoid that a request can hang forever.
Also, the redis lock object is now used as sole source of truth for the locking state of a session.
This lock state is checked before all i/o operations (same way as the FileSession in cherrypy does it).
This patch adds the possibility that lock can expire, which allows to avoid that a request can hang forever. Also, the redis lock object is now used as sole source of truth for the locking state of a session. This lock state is checked before all i/o operations (same way as the FileSession in cherrypy does it).