Author: loic
Date: Fri Aug 15 17:58:58 2008
New Revision: 4262
URL: http://svn.gna.org/viewcvs/pokersource?rev=4262&view=rev
Log:
A use addCallback and then addErrback instead of callbacks otherwise
a traceback in the callback will *not* be reported by the errback
B 'set' is used instead of 'add' because the latest session wins,
even if the previous is still active. When a session is
properly closed, the serial memecache entry is discarded.
But if the session is not closed, there is a spurious
serial entry referencing the old session. When a request
arrives with the old session uid (check getSession #xref1) it will
trigger an error and do nothing.
Modified:
trunk/poker-network/pokernetwork/pokersite.py
_______________________________________________
Pokersource-commits mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-commits