mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-15 07:42:16 +02:00
[BUG] fix forgotten server session counter
The server session counter was forgotten when the session establishes.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user