You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SendReliabilityLayer is now aware of, and respects, the remote reliable window.
This is necessary because the client will drop packets if they aren't within its reliable window (without ACK or NAK), causing long resend delays.
Packets outside this window are buffered until the window has shifted enough to allow the client to accept them.
A new parameter $reliableWindowSize has been added to SendReliabilityLayer::__construct(), with a default of 512 (matching the official RakNet default as seen here).
SendReliabilityLayer no longer drops the resend queue under any circumstances.
This had the potential to cause a breakdown of reliable packet transmission, causing sessions to get stuck.
Thanks to the introduction of sending reliability window, the resend queue size should never exceed the reliable window size (512 packets) anyway.