comparison src/event/ngx_event_accept.c @ 259:d30f2c39caae

nginx-0.0.2-2004-02-12-23:57:10 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 12 Feb 2004 20:57:10 +0000
parents 70e1c7d2b83d
children 5dacbb4daaf6
comparison
equal deleted inserted replaced
258:733dffa1fe97 259:d30f2c39caae
140 140
141 ngx_destroy_pool(pool); 141 ngx_destroy_pool(pool);
142 return; 142 return;
143 } 143 }
144 144
145 /* set a blocking mode for aio and non-blocking mode for others */ 145 /* set a blocking mode for aio and non-blocking mode for the others */
146 146
147 if (ngx_inherited_nonblocking) { 147 if (ngx_inherited_nonblocking) {
148 if ((ngx_event_flags & NGX_USE_AIO_EVENT)) { 148 if ((ngx_event_flags & NGX_USE_AIO_EVENT)) {
149 if (ngx_blocking(s) == -1) { 149 if (ngx_blocking(s) == -1) {
150 ngx_log_error(NGX_LOG_ALERT, log, ngx_socket_errno, 150 ngx_log_error(NGX_LOG_ALERT, log, ngx_socket_errno,