commit | d6b7080cecee3450bbad8fbd5d9b100be0a2d13d | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Mon Aug 02 15:50:00 2021 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Fri Aug 06 11:09:48 2021 +0200 |
tree | 524ee77b7cc7a127fbbc39163d6ed8761797a8e3 | |
parent | 403dce8e5a912bb3d2d78b62e3252b294d894de5 [diff] |
MINOR: server: implement a refcount for dynamic servers It is necessary to have a refcount mechanism on dynamic servers to be able to enable check support. Indeed, when deleting a dynamic server with check activated, the check will be asynchronously removed. This is mandatory to properly free the check resources in a thread-safe manner. The server instance must be kept alive for this.