Mercurial > hg > nginx-vendor-current
comparison src/event/modules/ngx_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 |
---|---|
79 FD_ZERO(&master_read_fd_set); | 79 FD_ZERO(&master_read_fd_set); |
80 FD_ZERO(&master_write_fd_set); | 80 FD_ZERO(&master_write_fd_set); |
81 nevents = 0; | 81 nevents = 0; |
82 } | 82 } |
83 | 83 |
84 if (ngx_process == NGX_PROCESS_WORKER | 84 if (ngx_process >= NGX_PROCESS_WORKER |
85 || cycle->old_cycle == NULL | 85 || cycle->old_cycle == NULL |
86 || cycle->old_cycle->connection_n < cycle->connection_n) | 86 || cycle->old_cycle->connection_n < cycle->connection_n) |
87 { | 87 { |
88 index = ngx_alloc(sizeof(ngx_event_t *) * 2 * cycle->connection_n, | 88 index = ngx_alloc(sizeof(ngx_event_t *) * 2 * cycle->connection_n, |
89 cycle->log); | 89 cycle->log); |