diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2007-09-11 10:22:12 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2007-09-11 10:22:12 +0000 |
| commit | b0fef0eaf63c68792782616237106b72b1968de1 (patch) | |
| tree | 03e80a3629e4d81801fa74b15c8cccd712ab9176 /src/mail/ngx_mail_handler.c | |
| parent | a72822df366b3b1505bf53a66b809380b121ad63 (diff) | |
| download | nginx-b0fef0eaf63c68792782616237106b72b1968de1.tar.gz nginx-b0fef0eaf63c68792782616237106b72b1968de1.tar.bz2 | |
decrement active connection counter in mail proxy
Diffstat (limited to '')
| -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; |
