Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broadcast websocket sync issues with HTTP requests #1537

Open
julien4215 opened this issue Mar 8, 2025 · 0 comments
Open

Broadcast websocket sync issues with HTTP requests #1537

julien4215 opened this issue Mar 8, 2025 · 0 comments

Comments

@julien4215
Copy link
Contributor

julien4215 commented Mar 8, 2025

Make sure that a scenario like this one can't happen.

  1. mobile establishes a websocket connection
  2. mobile requests pgn
  3. lila responds with the pgn
  4. lila receives a move from the broadcast source and sends it on the ws
  5. mobile receives first the move sent on the ws but doesn't do anything with it because the pgn was not yet fetched
  6. mobile receives the pgn

Both HTTP endpoints that might have sync issues with the websocket

@julien4215 julien4215 changed the title Websocket sync issues with HTTP requests Broadcast websocket sync issues with HTTP requests Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant