commit | bbe608a51b78d6aa68e05d2b6296cd725559f8f1 | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Wed Aug 25 15:03:46 2021 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri Sep 24 08:45:31 2021 +0200 |
tree | 008cf7290f219ad1f280ea45a1fc916fc3654b39 | |
parent | ff83674c5dd697ee595b17ecec4ee181a9f152d9 [diff] |
MINOR: server: return the next srv instance on free_server As a convenience, return the next server instance from servers list on free_server. This is particularily useful when using this function on the servers list without having to save of the next pointer before calling it. (cherry picked from commit f5c1e12e44e1caa0185e063daf00fb8841c2ed3d) [ad: updated context: remove uneeded condition on srv] Signed-off-by: Amaury Denoyelle <adenoyelle@haproxy.com>