drop signal messages while waiting for reconnect response - #1107
Conversation
|
|
The "align across SDKs" claim holds for Rust only, and in every SDK that has a gate the thing doing the real work is connection scoping, not the message-type filter. Swift's |
how so? if the server sends updates out of order or rather other messages prior to a ReconnectResponse on a fresh socket connection, that would still be an issue? |
|
On a fresh socket they aren't applied early either: That said, I think you're pointing at something real, just one layer down: the ordering isn't actually guaranteed today, because each message is dispatched with its own |
in an effort to align connection behaviour consistently across SDKs, this PR adopts what the rust SDK is currently doing, which is drop all signal messages during a reconnect until a ReconnectResponse is received.