Files
inbuxa-webmail/server
jcoffey-dev c14b14aa5e
ci / node (pull_request) Skipped
ci / version (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 2m46s
ci / docker-build (pull_request) Skipped
ci / publish (pull_request) Skipped
ci / announce (pull_request) Skipped
Live-updates dot: connected only once an event arrives (ihasmail #73)
Since the relay answers the browser before the mail server has, an open
stream no longer proves anything: when the server never answers, the
dot would turn green while no updates arrive. The client now shows
"connected" on the first ping or state event instead of on open, and
resets its backoff there too, so a stream that opens and ends at once
keeps backing off instead of retrying every second.

Relayed tabs get the server's own first ping. Fan-out has no upstream
ping, so we send one when a tab joins fan-out, directly or by moving off
the relay.

Reported in coffey-labs/ihasmail#71.

(cherry picked from commit 3661e0fd2365bd616ff5f47bd729c826948cae29)
2026-11-14 17:37:18 -07:00
..