-
Notifications
You must be signed in to change notification settings - Fork 2
Connection improvements #53
Copy link
Copy link
Open
Labels
Description
Reformulated:
When the SSE connection is interrupted (e.g. because the user switched tab, or networking issues).
Then the BE ends up dropping the session after a while. If the FE doesn't notice it, it could show the user wrong information.
For example, the FE shows the Room, but updates aren't received.
As long as the SSE connection is not doing errors, the session cannot have been lost.
But on error: It could be because of networking error. In this case, the session has not been lost: Only the SSE must be reopen.
Or it could be that the session has been Lost.
But the SSE api doesn't seem to allow knowing that. Thus, we must find a way for the FE to ask the BE if the session is still there.
Original:
- EventSource connection has TTL 3 minutes. If the client goes in a tunnel for more than that, the client will fail reconnecting, he should hello again. This isn't handled. (How to catch this in the EventSource thing?).
- Allow UI to send "close session" (case where the user closes the session on purpose).
Reactions are currently unavailable