MINOR: dns: default "hold obsolete" timeout set to 0
authorBaptiste Assmann <bassmann@haproxy.com>
Fri, 18 Aug 2017 08:15:42 +0000 (10:15 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 18 Aug 2017 09:26:14 +0000 (11:26 +0200)
commit686408bb6ccf5d8f3a21877c9a3ba120e09fd88f
treed8cb781fbc4ecf0287cdcda472726cf78d6b44af
parent2af08fe3de1a816bed2ec7b68064b6361a76bcce
MINOR: dns: default "hold obsolete" timeout set to 0

The "hold obsolete" timer is used to prevent HAProxy from moving a server to
an other IP or from considering the server as DOWN if the IP currently
affected to this server has not been seen for this period of time in DNS
responses.

That said, historically, HAProxy used to update servers as soon as the IP
has disappeared from the response. Current default timeout break this
historical behavior and may change HAProxy's behavior when people will
upgrade to 1.8.

This patch changes the default value to 0 to keep backward compatibility.
doc/configuration.txt
src/cfgparse.c