From: Aurelien DARRAGON Date: Mon, 27 Mar 2023 09:57:28 +0000 (+0200) Subject: CLEANUP: server: fix update_status() function comment X-Git-Tag: v2.8-dev8~72 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0ddf052972af0ca19e7c33903e008a3c830c303d;p=thirdparty%2Fhaproxy.git CLEANUP: server: fix update_status() function comment srv_update_status() function comment says that the function "is designed to be called asynchronously". While this used to be true back then with 64cc49cf ("MAJOR: servers: propagate server status changes asynchronously.") This is not true anymore since 3ff577e ("MAJOR: server: make server state changes synchronous again") Fixing the comment in order to better reflect current behavior. --- diff --git a/src/server.c b/src/server.c index add9d77e10..12475375c1 100644 --- a/src/server.c +++ b/src/server.c @@ -5270,8 +5270,7 @@ int srv_apply_track(struct server *srv, struct proxy *curproxy) } /* - * This function applies server's status changes, it is - * is designed to be called asynchronously. + * This function applies server's status changes. * * Must be called with the server lock held. This may also be called at init * time as the result of parsing the state file, in which case no lock will be