Port of coffey-labs/ihasmail#73, reported in coffey-labs/ihasmail#71. Follow-up to #92.
After #92 the relay answers before the mail server does, so the dot went green on open even when nothing ever arrived. Now it turns green on the first ping or state event, the backoff resets there too, and fan-out tabs get a ping from us when they join.
Port of coffey-labs/ihasmail#73, reported in coffey-labs/ihasmail#71. Follow-up to #92.
After #92 the relay answers before the mail server does, so the dot went green on open even when nothing ever arrived. Now it turns green on the first ping or state event, the backoff resets there too, and fan-out tabs get a ping from us when they join.
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)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Port of coffey-labs/ihasmail#73, reported in coffey-labs/ihasmail#71. Follow-up to #92.
After #92 the relay answers before the mail server does, so the dot went green on open even when nothing ever arrived. Now it turns green on the first ping or state event, the backoff resets there too, and fan-out tabs get a ping from us when they join.