Changeset 672
- Timestamp:
- 09/21/05 04:02:44
- Files:
-
- trunk/cherrypy/_cphttptools.py (modified) (1 diff)
- trunk/cherrypy/lib/filter/sessionfilter.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/_cphttptools.py
r671 r672 756 756 icofile = os.path.join(os.path.dirname(__file__), "favicon.ico") 757 757 cptools.serveFile(icofile) 758 applyFilters('beforeFinalize') 758 759 finalize() 759 760 raise cherrypy.RequestHandled() trunk/cherrypy/lib/filter/sessionfilter.py
r665 r672 205 205 def _clean(self, sess): 206 206 if getattr(sess, 'locked', None): 207 # If the session is still locked there probably was an 208 # error while processing the request. 209 # In that case we release the lock anyway. 207 # If the session is still locked we release the lock 210 208 sess.sessionStorage.releaseLock() 211 209 if getattr(sess, 'sessionStorage', None): … … 235 233 if time.time() - startTime > sess.deadlockTimeout: 236 234 raise SessionDeadlockError() 235 time.sleep(0.5) 237 236 sess.locked = True 238 237

