MINOR: srv: do not allow to track a dynamic server
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 13 Jul 2021 08:35:50 +0000 (10:35 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 16 Jul 2021 08:08:55 +0000 (10:08 +0200)
commit79f68be20771f8ca4034a19f041cb86372470ce1
tree6c248c2e15410fb18b3e60a47f52ac40351c0294
parent669b620e5f25ab739a42887d66204daf5a4d03e3
MINOR: srv: do not allow to track a dynamic server

Prevents the use of the "track" keyword for a dynamic server. This
simplifies the deletion of a dynamic server, without having to worry
about servers which might tracked it.

A BUG_ON is present in the dynamic server delete function to validate
this assertion.
src/server.c