comparison src/event/modules/ngx_select_module.c @ 121:b3655b21375a

nginx-0.0.1-2003-07-22-23:53:10 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 22 Jul 2003 19:53:10 +0000
parents b776ad95d96d
children ef8c87afcfc5
comparison
equal deleted inserted replaced
120:b776ad95d96d 121:b3655b21375a
426 { 426 {
427 ngx_event_conf_t *ecf; 427 ngx_event_conf_t *ecf;
428 428
429 ecf = ngx_event_get_conf(cycle->conf_ctx, ngx_event_core_module); 429 ecf = ngx_event_get_conf(cycle->conf_ctx, ngx_event_core_module);
430 430
431 /* disable warnings: the default FD_SETSIZE is 1024U in FreeBSD 5.x */ 431 /* disable warning: the default FD_SETSIZE is 1024U in FreeBSD 5.x */
432 432
433 if ((unsigned) ecf->connections > FD_SETSIZE) { 433 if ((unsigned) ecf->connections > FD_SETSIZE) {
434 return "maximum number of connections " 434 return "maximum number of connections "
435 "supported by select() is " ngx_value(FD_SETSIZE); 435 "supported by select() is " ngx_value(FD_SETSIZE);
436 } 436 }