mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-05 02:49:01 +00:00
[BUG] fix forgotten server session counter
The server session counter was forgotten when the session establishes.
This commit is contained in:
parent
59234e91c2
commit
8f6457c5bb
@ -350,6 +350,8 @@ void sess_update_stream_int(struct session *s, struct stream_interface *si)
|
||||
conn_err = connect_server(s);
|
||||
if (conn_err == SN_ERR_NONE) {
|
||||
/* state = SI_ST_CON now */
|
||||
if (s->srv)
|
||||
s->srv->cum_sess++;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user