Mercurial > hg > nginx
comparison src/event/ngx_event.c @ 355:0fb6c53fb135
nginx-0.0.7-2004-06-15-21:47:16 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 15 Jun 2004 17:47:16 +0000 |
parents | eaf1f651cf86 |
children | 2e3cbc1bbe3c |
comparison
equal
deleted
inserted
replaced
354:eaf1f651cf86 | 355:0fb6c53fb135 |
---|---|
656 ngx_conf_init_value(ecf->use, ngx_rtsig_module.ctx_index); | 656 ngx_conf_init_value(ecf->use, ngx_rtsig_module.ctx_index); |
657 ngx_conf_init_ptr_value(ecf->name, ngx_rtsig_module_ctx.name->data); | 657 ngx_conf_init_ptr_value(ecf->name, ngx_rtsig_module_ctx.name->data); |
658 | 658 |
659 #elif (HAVE_SELECT) | 659 #elif (HAVE_SELECT) |
660 | 660 |
661 #if (WIN32) | |
662 ngx_conf_init_unsigned_value(ecf->connections, DEFAULT_CONNECTIONS); | |
663 #else | |
661 ngx_conf_init_unsigned_value(ecf->connections, | 664 ngx_conf_init_unsigned_value(ecf->connections, |
662 FD_SETSIZE < DEFAULT_CONNECTIONS ? FD_SETSIZE : DEFAULT_CONNECTIONS); | 665 FD_SETSIZE < DEFAULT_CONNECTIONS ? FD_SETSIZE : DEFAULT_CONNECTIONS); |
666 #endif | |
663 | 667 |
664 ngx_conf_init_value(ecf->use, ngx_select_module.ctx_index); | 668 ngx_conf_init_value(ecf->use, ngx_select_module.ctx_index); |
665 ngx_conf_init_ptr_value(ecf->name, ngx_select_module_ctx.name->data); | 669 ngx_conf_init_ptr_value(ecf->name, ngx_select_module_ctx.name->data); |
666 | 670 |
667 #else | 671 #else |