mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-21 10:03:20 +02:00
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.
This commit is contained in:
@@ -59,7 +59,7 @@ int srv_set_addr_via_libc(struct server *srv, int *err_code);
|
||||
int srv_init_addr(void);
|
||||
struct server *cli_find_server(struct appctx *appctx, char *arg);
|
||||
struct server *new_server(struct proxy *proxy);
|
||||
void free_server(struct server *srv);
|
||||
struct server *free_server(struct server *srv);
|
||||
int srv_init_per_thr(struct server *srv);
|
||||
|
||||
/* functions related to server name resolution */
|
||||
|
||||
Reference in New Issue
Block a user