As of r4410, I have committed code in poker-network to handle the problem that Loic dubbed "server reduce backlog". The original problem, research notes, and implementation details are described at the following URL: http://ur1.ca/4bk
Shortly put, Loic was concerned that clients, particular jspoker clients, might remain connected indefinitely even though they are not actually receiving packets. The packets would therefore be queued by the PokerAvatar class indefinitely, causing a spew of replayed (but long finished) hands upon reconnect. Proppy and I did some tests and had trouble producing a scenario where this actually happened. However, Loic and I decided, upon further discussion, that it still made more sense to put some sort of stop-gap in. Now, if the packet queue in PokerAvatar goes beyond the value set for max_queued_client_packets in the <server> tag in the server config XML file, the client will be force-disconnected one second after the overage is detected. -- -- bkuhn _______________________________________________ Pokersource-users mailing list [email protected] https://mail.gna.org/listinfo/pokersource-users
