r1473 merge:

decrement active connection counter in mail proxy
This commit is contained in:
Igor Sysoev 2007-09-23 19:25:28 +00:00
parent a142ff6a3a
commit 1bb036cd84
1 changed files with 4 additions and 0 deletions

View File

@ -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;