mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-02 01:20:49 +00:00
MINOR: server: the mux_proto entry in the server is const
Same as previous commit. We'll have to update this one soon, let's avoid any cast and mark it const as it really is.
This commit is contained in:
parent
5fc311c001
commit
3fbea1d8d0
@ -206,7 +206,7 @@ struct server {
|
||||
char *rdr_pfx; /* the redirection prefix */
|
||||
|
||||
struct proxy *proxy; /* the proxy this server belongs to */
|
||||
struct mux_proto_list *mux_proto; /* the mux to use for all outgoing connections (specified by the "proto" keyword) */
|
||||
const struct mux_proto_list *mux_proto; /* the mux to use for all outgoing connections (specified by the "proto" keyword) */
|
||||
int served; /* # of active sessions currently being served (ie not pending) */
|
||||
int cur_sess; /* number of currently active sessions (including syn_sent) */
|
||||
unsigned maxconn, minconn; /* max # of active sessions (0 = unlimited), min# for dynamic limit. */
|
||||
|
Loading…
Reference in New Issue
Block a user