comparison src/event/ngx_event_accept.c @ 98:c9b243802a17

nginx-0.0.1-2003-05-30-18:27:59 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 30 May 2003 14:27:59 +0000
parents 70d2345a903f
children a059e1aa65d4
comparison
equal deleted inserted replaced
97:70d2345a903f 98:c9b243802a17
61 61
62 ngx_destroy_pool(pool); 62 ngx_destroy_pool(pool);
63 return; 63 return;
64 } 64 }
65 65
66 if (s >= ecf->connections) { 66 /* disable warnings: Win32 SOCKET is u_int while UNIX socket is int */
67 if ((unsigned) s >= (unsigned) ecf->connections) {
67 68
68 ngx_log_error(NGX_LOG_ALERT, ev->log, 0, 69 ngx_log_error(NGX_LOG_ALERT, ev->log, 0,
69 "accept() %s returned socket #%d while " 70 "accept() %s returned socket #%d while "
70 "only %d connections was configured, " 71 "only %d connections was configured, "
71 "sleeping for 1 second", 72 "sleeping for 1 second",