Subject: [AAA-WG]: FW: Randy Bush: dawg

From: Allison Mankin <[email-masked]>
Date: Mon, 21 May 2001 17:05:15 -0400

Randy's proposal of simple code for failover and 
failure testing

if (the timer expires) {
  <do whatever you like to do on a single timeout>
  bark-count += 1
  if (bark-count > max-tolerable) {
    fallback to another server and reset everything
    }
  }

if (sending a message) and (queue is empty) {
  set timer to max
  }

if (received a response) {

  if  (this empties the queue) {
     send a dummy packet == hearbeat
     }

  set timer to max
  bark-count = 0
  }