diff options
author | 2015-08-20 14:38:32 -0700 | |
---|---|---|
committer | 2015-08-20 14:38:32 -0700 | |
commit | 083b4d3de314e66f900c711c2e0f8ff3abed8268 (patch) | |
tree | 8d7bebcfa8576a78b428517cf34e19d3e9ce8095 /doc | |
parent | f53d0580947b295f4eacbbb567e2b55dd0643345 (diff) | |
parent | a5f9e903bdc1805dc816473a871e42b2555ceea8 (diff) |
Merge pull request #2988 from madongfly/backoff
Add backoff reset spec to the Connection Backoff Protocol
Diffstat (limited to 'doc')
-rw-r--r-- | doc/connection-backoff.md | 9 |
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. |