commit | 8f6457c5bbb5242b8a5ce0abc0a634c148cfc3bf | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Dec 01 00:08:28 2008 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Dec 01 00:08:28 2008 +0100 |
tree | 7d4cf210593257a94ac6dbf27f5ea03026365434 | |
parent | 59234e91c21c9ca614ea15e10f0711868b14ba8d [diff] [blame] |
[BUG] fix forgotten server session counter The server session counter was forgotten when the session establishes.
diff --git a/src/session.c b/src/session.c index f49814a..0df174a 100644 --- a/src/session.c +++ b/src/session.c
@@ -350,6 +350,8 @@ conn_err = connect_server(s); if (conn_err == SN_ERR_NONE) { /* state = SI_ST_CON now */ + if (s->srv) + s->srv->cum_sess++; return; }