Race condition when establishing new connections
sean0x42 opened this issue · comments
Sean Bailey commented
There appears to be a race condition that occurs at the start of every new connection. About 60% of the time, the client will send its first packet before we have opened a connection with the server (I think), causing the connection to go silent.
I did attempt to resolve this issue by collecting all packets into a queue until the server explicitly fires the connect
event, and then releasing the queue. But this has not resolved the issue.
More investigation is needed.
Sean Bailey commented
Closing! Moving to a new tech stack and this is no longer relevant