]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: servers: Don't report duplicate dyncookies for disabled servers.
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 17 Jan 2018 16:39:34 +0000 (17:39 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 23 Jan 2018 13:05:17 +0000 (14:05 +0100)
commite9bad0a9361a761f2f304dcca8ddd997c05627c2
tree6c9eba9b4c85b0e5b2554f615875c7384784452a
parent55482913956581223dc9b54e480675610e2e177e
MINOR: servers: Don't report duplicate dyncookies for disabled servers.

Especially with server-templates, it can happen servers starts with a
placeholder IP, in the disabled state. In this case, we don't want to report
that the same cookie was generated for multiple servers. So defer the test
until the server is enabled.

This should be backported to 1.8.
src/server.c