comparison src/event/modules/ngx_select_module.c @ 321:32847588a82a

nginx-0.0.3-2004-04-19-20:36:08 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 19 Apr 2004 16:36:08 +0000
parents 56496082668b
children ba876b26b76d
comparison
equal deleted inserted replaced
320:d621239c30f7 321:32847588a82a
564 { 564 {
565 ngx_event_conf_t *ecf; 565 ngx_event_conf_t *ecf;
566 566
567 ecf = ngx_event_get_conf(cycle->conf_ctx, ngx_event_core_module); 567 ecf = ngx_event_get_conf(cycle->conf_ctx, ngx_event_core_module);
568 568
569 if (ecf->use != ngx_select_module.ctx_index) {
570 return NGX_CONF_OK;
571 }
572
569 /* disable warning: the default FD_SETSIZE is 1024U in FreeBSD 5.x */ 573 /* disable warning: the default FD_SETSIZE is 1024U in FreeBSD 5.x */
570 574
571 if ((unsigned) ecf->connections > FD_SETSIZE) { 575 if ((unsigned) ecf->connections > FD_SETSIZE) {
572 ngx_log_error(NGX_LOG_EMERG, cycle->log, 0, 576 ngx_log_error(NGX_LOG_EMERG, cycle->log, 0,
573 "the maximum number of files " 577 "the maximum number of files "