]> source.dussan.org Git - rspamd.git/commitdiff
Increase control connections counter.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 4 Oct 2014 19:44:55 +0000 (20:44 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 4 Oct 2014 19:44:55 +0000 (20:44 +0100)
src/controller.c

index 5b2915ef4bf06d9f8500b355499706826af4b812..f7392fa4da95941b656ef07d6ac02b76a16fb16a 100644 (file)
@@ -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);
        }