comparison 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
comparison
equal deleted inserted replaced
430:1fa5daf7558e 431:358bbd2561b5
127 return; 127 return;
128 } 128 }
129 129
130 #if (NGX_STAT_STUB) 130 #if (NGX_STAT_STUB)
131 (*ngx_stat_accepted)++; 131 (*ngx_stat_accepted)++;
132 (*ngx_stat_active)++;
133 #endif 132 #endif
134 133
135 ngx_accept_disabled = (ngx_uint_t) s + NGX_ACCEPT_THRESHOLD 134 ngx_accept_disabled = (ngx_uint_t) s + NGX_ACCEPT_THRESHOLD
136 - ecf->connections; 135 - ecf->connections;
137 136
147 146
148 ngx_close_accepted_socket(s, log); 147 ngx_close_accepted_socket(s, log);
149 ngx_destroy_pool(pool); 148 ngx_destroy_pool(pool);
150 return; 149 return;
151 } 150 }
151
152 #if (NGX_STAT_STUB)
153 (*ngx_stat_active)++;
154 #endif
152 155
153 /* set a blocking mode for aio and non-blocking mode for the others */ 156 /* set a blocking mode for aio and non-blocking mode for the others */
154 157
155 if (ngx_inherited_nonblocking) { 158 if (ngx_inherited_nonblocking) {
156 if ((ngx_event_flags & NGX_USE_AIO_EVENT)) { 159 if ((ngx_event_flags & NGX_USE_AIO_EVENT)) {