comparison src/event/modules/ngx_win32_select_module.c @ 552:43e02819c5cf NGINX_0_8_28

nginx 0.8.28 *) Bugfix: nginx could not be built with the --without-pcre parameter; the bug had appeared in 0.8.25.
author Igor Sysoev <http://sysoev.ru>
date Mon, 23 Nov 2009 00:00:00 +0300
parents 86dad910eeb6
children be4f34123024
comparison
equal deleted inserted replaced
551:8af5b52635d0 552:43e02819c5cf
80 FD_ZERO(&master_read_fd_set); 80 FD_ZERO(&master_read_fd_set);
81 FD_ZERO(&master_write_fd_set); 81 FD_ZERO(&master_write_fd_set);
82 nevents = 0; 82 nevents = 0;
83 } 83 }
84 84
85 if (ngx_process == NGX_PROCESS_WORKER 85 if (ngx_process >= NGX_PROCESS_WORKER
86 || cycle->old_cycle == NULL 86 || cycle->old_cycle == NULL
87 || cycle->old_cycle->connection_n < cycle->connection_n) 87 || cycle->old_cycle->connection_n < cycle->connection_n)
88 { 88 {
89 index = ngx_alloc(sizeof(ngx_event_t *) * 2 * cycle->connection_n, 89 index = ngx_alloc(sizeof(ngx_event_t *) * 2 * cycle->connection_n,
90 cycle->log); 90 cycle->log);