]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: server: Crash when setting FQDN via CLI.
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 21 Aug 2018 13:04:23 +0000 (15:04 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 12 Sep 2018 05:41:41 +0000 (07:41 +0200)
commit5afb3cfbcc9e690ee104d64b80aadfe5fd829af0
tree2bca5e553947e4f3e3ab6522d421fe4b3b793625
parent7755f9f2be1d02ec011e9088a34f58f97b25ea43
BUG/MINOR: server: Crash when setting FQDN via CLI.

This patch ensures that a DNS resolution may be launched before
setting a server FQDN via the CLI. Especially, it checks that
resolvers was set.

A LEVEL 4 reg testing file is provided.

Thanks to Lukas Tribus for having reported this issue.

Must be backported to 1.8.
reg-tests/server/b00000.vtc [new file with mode: 0644]
src/server.c