comparison src/event/ngx_event_accept.c @ 260:5dacbb4daaf6

nginx-0.0.2-2004-02-17-20:53:12 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 17 Feb 2004 17:53:12 +0000
parents d30f2c39caae
children 5238e93961a1
comparison
equal deleted inserted replaced
259:d30f2c39caae 260:5dacbb4daaf6
92 s = accept(ls->fd, sa, &len); 92 s = accept(ls->fd, sa, &len);
93 if (s == -1) { 93 if (s == -1) {
94 err = ngx_socket_errno; 94 err = ngx_socket_errno;
95 95
96 if (err == NGX_EAGAIN) { 96 if (err == NGX_EAGAIN) {
97 ngx_log_error(NGX_LOG_NOTICE, log, err, 97 if (!(ngx_event_flags
98 "EAGAIN after %d accepted connection(s)", 98 & (NGX_USE_EDGE_EVENT|NGX_USE_SIGIO_EVENT)))
99 accepted); 99 {
100 ngx_log_error(NGX_LOG_NOTICE, log, err,
101 "EAGAIN after %d accepted connection(s)",
102 accepted);
103 }
100 104
101 ngx_destroy_pool(pool); 105 ngx_destroy_pool(pool);
102 return; 106 return;
103 } 107 }
104 108