Hello Olivier,

Sorry for this one, I originally did update the server.h file, but I
don't know why I forgot to add it in my patch submission :/
then I saw you fixed it while pushing my commit, thank you for this.

On Mon, May 04, 2020 at 01:52:40PM +0200, William Dauchy wrote:
> this patch should be backported where commit 6318d33ce625
> ("BUG/MEDIUM: connections: force connections cleanup on server changes")
> will be backported, that is to say v1.9 to v2.1.
> 
> Fixes: 6318d33ce625 ("BUG/MEDIUM: connections: force connections cleanup
> on server changes")
> Signed-off-by: William Dauchy <w.dau...@criteo.com>
> ---
>  src/server.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/server.c b/src/server.c
> index 94e7aeed1..9e74fa485 100644
> --- a/src/server.c
> +++ b/src/server.c
> @@ -5169,7 +5169,7 @@ struct task *srv_cleanup_toremove_connections(struct 
> task *task, void *context,
>  /* cleanup connections for a given server
>   * might be useful when going on forced maintenance or live changing ip/port
>   */
> -void srv_cleanup_connections(struct server *srv)
> +static void srv_cleanup_connections(struct server *srv)
>  {
>       struct connection *conn;
>       int did_remove;
> -- 
> 2.26.2
> 

-- 
William

Reply via email to