mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-02 06:20:14 +01:00
c4df31892e
message over and over when getting updated by GCM. The problem occurred when one device had an un-ACKable initial message still in its queue. I call resendAll a lot, which caused that message to get resent to the other game which then replied without being able to ACK it so it remained to be sent again. This would continue until users moved forward in the game. The fix is to add a backoff timer to resendAll() so that it can't loop. The timer is reset when an ackable and new message is received, meaning there's been a change in what's available to resend. And since users calling resendAll manually expect it to do something, add a force param that ignores the backoff. seems to fix the problem (but needs a lot of testing.) |
||
---|---|---|
.. | ||
anddict.c | ||
anddict.h | ||
andglobals.h | ||
Android.mk | ||
andutils.c | ||
andutils.h | ||
drawwrapper.c | ||
drawwrapper.h | ||
jniutlswrapper.c | ||
jniutlswrapper.h | ||
LocalizedStrIncludes.h | ||
paths.h | ||
utils.c | ||
utilwrapper.c | ||
utilwrapper.h | ||
xportwrapper.c | ||
xportwrapper.h | ||
xptypes.h | ||
xwjni.c |