aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/connection-backoff.md
diff options
context:
space:
mode:
authorGravatar Xudong Ma <simonma@google.com>2015-08-18 17:22:53 -0700
committerGravatar Xudong Ma <simonma@google.com>2015-08-18 17:22:53 -0700
commita5f9e903bdc1805dc816473a871e42b2555ceea8 (patch)
treedde605803fa27ea42b8a733037cbc8adbac3adb7 /doc/connection-backoff.md
parentbb1c795f998f052f854a6e1aeebff44e293a29f4 (diff)
Add backoff reset spec to the Connection Backoff Protocol
Diffstat (limited to 'doc/connection-backoff.md')
-rw-r--r--doc/connection-backoff.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/connection-backoff.md b/doc/connection-backoff.md
index 7094e737c5..251a60f384 100644
--- a/doc/connection-backoff.md
+++ b/doc/connection-backoff.md
@@ -44,3 +44,12 @@ different jitter logic.
Alternate implementations must ensure that connection backoffs started at the
same time disperse, and must not attempt connections substantially more often
than the above algorithm.
+
+## Reset Backoff
+
+The back off should be reset to INITIAL_BACKOFF at some time point, so that the
+reconnecting behavior is consistent no matter the connection is a newly started
+one or a previously disconnected one.
+
+We choose to reset the Backoff when the SETTINGS frame is received, at that time
+point, we know for sure that this connection was accepted by the server.