Hi,
I've thought about the recuring inconsistency that occurs when
running multiple poker servers with the poker client you wrote (in a
nutshell, the poker server keeps getting the exact same invalide note
again and again and we can't figure out where it comes from).
I realized that I overlooked the possibility of an
inconsistency generated by your poker client. The inconsistent note
that is being sent to the poker server is sent by your poker
client. In theory it gets this note from a legitimate currency server
and I assumed said currency server gave it the wrong note. But what
if the problem is in the poker client ?
The currency table could contain thousands of different
currencies, it would be harmless. These currencies are only used if
requested.
I have overlooked one important actor in the handling of
currencies : the poker client.
One possible scenario is:
poker client -> asks for a note to demo.agile.com and
get "note 5 from demo.agile.com"
poker client -> sends the note to poker-server-45.agile.com
"note 5 from demo.agile.com"
poker-server creates/reuses an entry in the currency table
"notes from demo.agile.com"
this would be harmless, although it would not be what you expect.
Another possible scenario is:
poker client -> asks for a note to note500.agile.com and
get "note 7 from note500.agile.com"
poker client -> sends the note to poker-server-45.agile.com
"note 7 from demo.agile.com"
poker-server creates/reuses an entry in the currency table
"notes from demo.agile.com"
note that "note500.agile.com" is replaced with "demo.agile.com"
by the poker client. And this confuses the poker server.
Cheers,
--
+33 1 76 60 72 81 Loic Dachary mailto:[EMAIL PROTECTED]
http://dachary.org/loic/gpg.txt sip:[EMAIL PROTECTED]
Latitude: 48.86962325498033 Longitude: 2.3623046278953552
_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users