aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-10-04 20:44:55 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-10-04 20:44:55 +0100
commitc8cfdd6d2af305c6a76f3d697245d1eafd5eb4a6 (patch)
treef145d029f0fa38391fe4dea31fe383120edd3ee9
parent12e5f3ab0a145e64802dedc84792dd2c0f240066 (diff)
downloadrspamd-c8cfdd6d2af305c6a76f3d697245d1eafd5eb4a6.tar.gz
rspamd-c8cfdd6d2af305c6a76f3d697245d1eafd5eb4a6.zip
Increase control connections counter.
-rw-r--r--src/controller.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controller.c b/src/controller.c
index 5b2915ef4..f7392fa4d 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -1528,6 +1528,7 @@ rspamd_controller_finish_handler (struct rspamd_http_connection_entry *conn_ent)
{
struct rspamd_controller_session *session = conn_ent->ud;
+ session->ctx->worker->srv->stat->control_connections_count++;
if (session->task != NULL) {
destroy_session (session->task->s);
}