chiark / gitweb /
server/keyexch.c: Randomized exponential retransmit backoff.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 1 Feb 2012 21:13:01 +0000 (21:13 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 21 Mar 2012 16:11:49 +0000 (16:11 +0000)
Rather than retrying after a constant delay, increase the delay by a
constant factor.  We now start with a smaller retransmit interval, and
cap at a fairly long wait.  Also introduce a random `wobble'
proportional to the delay in order to prevent a server being hammered by
a swarm of clients acting in unison if it comes back after an outage.


No differences found