MEDIUM: check: implement check deletion for dynamic servers
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 29 Jul 2021 13:51:45 +0000 (15:51 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 6 Aug 2021 09:09:48 +0000 (11:09 +0200)
commitb33a0abc0b4c64118f7b21f314b5783197ade895
tree5cf86e9df801687d5dd443c6b745b11bbc460523
parentd6b7080cecee3450bbad8fbd5d9b100be0a2d13d
MEDIUM: check: implement check deletion for dynamic servers

Implement a mechanism to free a started check on runtime for dynamic
servers. A new function check_purge is created for this. The check task
will be marked for deletion and scheduled to properly close connection
elements and free the task/tasklet/buf_wait elements.

This function will be useful to delete a dynamic server wich checks.
include/haproxy/check-t.h
include/haproxy/check.h
src/check.c