From a5f9e903bdc1805dc816473a871e42b2555ceea8 Mon Sep 17 00:00:00 2001 From: Xudong Ma Date: Tue, 18 Aug 2015 17:22:53 -0700 Subject: Add backoff reset spec to the Connection Backoff Protocol --- doc/connection-backoff.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/connection-backoff.md') 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. -- cgit v1.2.3