mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-02 23:55:05 -04: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue