diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-09-11 14:22:12 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-09-11 14:22:12 +0400 |
commit | b0fef0eaf63c68792782616237106b72b1968de1 (patch) | |
tree | 03e80a3629e4d81801fa74b15c8cccd712ab9176 | |
parent | a72822df366b3b1505bf53a66b809380b121ad63 (diff) |
decrement active connection counter in mail proxy
-rw-r--r-- | src/mail/ngx_mail_handler.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mail/ngx_mail_handler.c b/src/mail/ngx_mail_handler.c index 73bfbd233..9c83bdbc8 100644 --- a/src/mail/ngx_mail_handler.c +++ b/src/mail/ngx_mail_handler.c @@ -2100,6 +2100,10 @@ ngx_mail_close_connection(ngx_connection_t *c) #endif +#if (NGX_STAT_STUB) + ngx_atomic_fetch_add(ngx_stat_active, -1); +#endif + c->destroyed = 1; pool = c->pool; |