Mercurial > hg > nginx-quic
diff src/event/ngx_event_accept.c @ 431:358bbd2561b5
nginx-0.0.11-2004-09-20-19:17:02 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 20 Sep 2004 15:17:02 +0000 |
parents | 3f88935a02e8 |
children | da8c5707af39 |
line wrap: on
line diff
--- a/src/event/ngx_event_accept.c +++ b/src/event/ngx_event_accept.c @@ -129,7 +129,6 @@ void ngx_event_accept(ngx_event_t *ev) #if (NGX_STAT_STUB) (*ngx_stat_accepted)++; - (*ngx_stat_active)++; #endif ngx_accept_disabled = (ngx_uint_t) s + NGX_ACCEPT_THRESHOLD @@ -150,6 +149,10 @@ void ngx_event_accept(ngx_event_t *ev) return; } +#if (NGX_STAT_STUB) + (*ngx_stat_active)++; +#endif + /* set a blocking mode for aio and non-blocking mode for the others */ if (ngx_inherited_nonblocking) {