MINOR: server: return the next srv instance on free_server
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 25 Aug 2021 13:03:46 +0000 (15:03 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 25 Aug 2021 13:29:19 +0000 (15:29 +0200)
commitf5c1e12e44e1caa0185e063daf00fb8841c2ed3d
treef776a58a29071f89378e42b047338303fe5fc7eb
parentcd61e8383d9dff8a308a822063aee6b5e3b3282d
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.
include/haproxy/server.h
src/proxy.c
src/server.c