decrement active connection counter in mail proxy

This commit is contained in:
Igor Sysoev 2007-09-11 10:22:12 +00:00
parent a72822df36
commit b0fef0eaf6

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;