use adaptive reconnect_interval
authorWu, Fengguang <fengguang.wu@intel.com>
Fri, 12 Dec 2008 14:23:43 +0000 (14:23 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 12 Dec 2008 14:32:42 +0000 (14:32 +0000)
commit13aad61da9fe4022933207091a391218b1f7d06c
tree4849ba40bce56318588464d3afc25a5db46eeb5d
parent0c1364ba9c87a0ca4b3bf512d41c87e184083c72
use adaptive reconnect_interval

Start reconnect attempts in 10s interval and enlarge
the interval by 10s each time until it reaches 100s.

This makes reasonable retry density for both small/large reconnect timeouts.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
cstp.c
main.c
openconnect.h