]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: dns: wrong first time DNS resolution
authorBaptiste Assmann <bedis9@gmail.com>
Thu, 27 Aug 2015 20:12:46 +0000 (22:12 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Aug 2015 15:23:04 +0000 (17:23 +0200)
commitf046f1156149d3d8563cc45d7608f2c42ef5b596
tree46f6d3f27dd6f68331bba80160801945cd57bf3a
parentbc183a6eda5437853327cce460c19b02b3202fdf
BUG/MEDIUM: dns: wrong first time DNS resolution

First DNS resolution is supposed to be triggered by first health check,
which is not the case with current code.
This patch fixes this behavior by setting the
resolution->last_resolution time to 0 instead of now_ms when parsing
server's configuration at startup.
src/server.c