Mercurial > hg > nginx
diff 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 |
line wrap: on
line diff
--- a/src/event/modules/ngx_select_module.c +++ b/src/event/modules/ngx_select_module.c @@ -566,6 +566,10 @@ static char *ngx_select_init_conf(ngx_cy ecf = ngx_event_get_conf(cycle->conf_ctx, ngx_event_core_module); + if (ecf->use != ngx_select_module.ctx_index) { + return NGX_CONF_OK; + } + /* disable warning: the default FD_SETSIZE is 1024U in FreeBSD 5.x */ if ((unsigned) ecf->connections > FD_SETSIZE) {