comparison src/event/modules/ngx_poll_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
70 70
71 if (event_list == NULL) { 71 if (event_list == NULL) {
72 nevents = 0; 72 nevents = 0;
73 } 73 }
74 74
75 if (ngx_process == NGX_PROCESS_WORKER 75 if (ngx_process >= NGX_PROCESS_WORKER
76 || cycle->old_cycle == NULL 76 || cycle->old_cycle == NULL
77 || cycle->old_cycle->connection_n < cycle->connection_n) 77 || cycle->old_cycle->connection_n < cycle->connection_n)
78 { 78 {
79 list = ngx_alloc(sizeof(struct pollfd) * cycle->connection_n, 79 list = ngx_alloc(sizeof(struct pollfd) * cycle->connection_n,
80 cycle->log); 80 cycle->log);