mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-30 07:11:04 +01:00
BUG/MINOR: server: some prototypes are renamed
The commit 87b096 renames the functions srv_shutdown_backup_sessions() and srv_shutdown_sessions() to srv_shutdown_backup_streams() and srv_shutdown_streams(). The header file <proto/servers.h> does not repport these changes. This bug should be repported in the 1.6 branch, even if it is useless because new dev are frozen.
This commit is contained in:
parent
0164f200ab
commit
9f72555b65
@ -124,13 +124,13 @@ static inline int server_is_draining(const struct server *s)
|
|||||||
* code in <why>, which must be one of SF_ERR_* indicating the reason for the
|
* code in <why>, which must be one of SF_ERR_* indicating the reason for the
|
||||||
* shutdown.
|
* shutdown.
|
||||||
*/
|
*/
|
||||||
void srv_shutdown_sessions(struct server *srv, int why);
|
void srv_shutdown_streams(struct server *srv, int why);
|
||||||
|
|
||||||
/* Shutdown all connections of all backup servers of a proxy. The caller must
|
/* Shutdown all connections of all backup servers of a proxy. The caller must
|
||||||
* pass a termination code in <why>, which must be one of SF_ERR_* indicating
|
* pass a termination code in <why>, which must be one of SF_ERR_* indicating
|
||||||
* the reason for the shutdown.
|
* the reason for the shutdown.
|
||||||
*/
|
*/
|
||||||
void srv_shutdown_backup_sessions(struct proxy *px, int why);
|
void srv_shutdown_backup_streams(struct proxy *px, int why);
|
||||||
|
|
||||||
/* Appends some information to a message string related to a server going UP or
|
/* Appends some information to a message string related to a server going UP or
|
||||||
* DOWN. If both <forced> and <reason> are null and the server tracks another
|
* DOWN. If both <forced> and <reason> are null and the server tracks another
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user