Closed Bug 1218591 Opened 5 years ago Closed 5 years ago

Reset the WebSocket retry counter when the server replies

Categories

(Core :: DOM: Push Notifications, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox44 --- fixed

People

(Reporter: lina, Assigned: lina)

References

Details

Attachments

(1 file)

Currently, we reset the retry counter when the WebSocket connection succeeds. I think we should wait until the first response from the Push server. This ensures the client won't endlessly retry with a zero-delay if the handshake fails (e.g., https://github.com/mozilla-services/autopush/issues/151).
Attachment #8679135 - Flags: review?(bbangert) → review?(dd.mozilla)
Attachment #8679135 - Flags: review?(dd.mozilla) → review+
https://hg.mozilla.org/mozilla-central/rev/820fa1592bfa
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in before you can comment on or make changes to this bug.