ctm / mb2-doc

Mb2, poker software
https://devctm.com
7 stars 2 forks source link

Potential message duplication during connection #1287

Open ctm opened 6 months ago

ctm commented 6 months ago

Look at messages that are sent to a new connection and remove any duplication.

When I was working on trouble with some OnLevel messages (#1281) , I noticed thare are cases where mb2 sends messages more than once simply because there are certain messages that are sent unconditionally during a new connection that may also be held in the replay buffer.

Structure is by far the largest message that might fit in this category. I'm not sure it actually gets duplicated though. OnLevel can and does in some circumstances, but that one's pretty small.

I am not tagging this as high priority and it's not a bug either, so there's a good chance this will get starved, but I'd rather it be noted and forgotten than forgotten completely.