comparison src/event/ngx_event.c @ 253:b6793bc5034b

nginx-0.0.2-2004-02-09-10:46:43 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 09 Feb 2004 07:46:43 +0000
parents 1903c6821958
children e6938ca7331a
comparison
equal deleted inserted replaced
252:84b1c672ec5a 253:b6793bc5034b
457 457
458 ngx_conf_init_value(ecf->connections, DEFAULT_CONNECTIONS); 458 ngx_conf_init_value(ecf->connections, DEFAULT_CONNECTIONS);
459 ngx_conf_init_value(ecf->use, ngx_devpoll_module.ctx_index); 459 ngx_conf_init_value(ecf->use, ngx_devpoll_module.ctx_index);
460 ngx_conf_init_ptr_value(ecf->name, ngx_devpoll_module_ctx.name->data); 460 ngx_conf_init_ptr_value(ecf->name, ngx_devpoll_module_ctx.name->data);
461 461
462 #elif (HAVE_EPOLL)
463
464 ngx_conf_init_value(ecf->connections, DEFAULT_CONNECTIONS);
465 ngx_conf_init_value(ecf->use, ngx_epoll_module.ctx_index);
466 ngx_conf_init_ptr_value(ecf->name, ngx_epoll_module_ctx.name->data);
467
462 #else /* HAVE_SELECT */ 468 #else /* HAVE_SELECT */
463 469
464 ngx_conf_init_value(ecf->connections, 470 ngx_conf_init_value(ecf->connections,
465 FD_SETSIZE < DEFAULT_CONNECTIONS ? FD_SETSIZE : DEFAULT_CONNECTIONS); 471 FD_SETSIZE < DEFAULT_CONNECTIONS ? FD_SETSIZE : DEFAULT_CONNECTIONS);
466 472