mirror of
https://github.com/nginx/nginx.git
synced 2026-08-27 04:07:18 +00:00
decrement active connection counter in mail proxy
This commit is contained in:
parent
a72822df36
commit
b0fef0eaf6
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue