Mercurial > hg > nginx
comparison src/core/ngx_cycle.c @ 318:56496082668b
nginx-0.0.3-2004-04-16-09:14:16 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 16 Apr 2004 05:14:16 +0000 |
parents | 1308b98496a2 |
children | d621239c30f7 |
comparison
equal
deleted
inserted
replaced
317:1308b98496a2 | 318:56496082668b |
---|---|
10 volatile ngx_cycle_t *ngx_cycle; | 10 volatile ngx_cycle_t *ngx_cycle; |
11 ngx_array_t ngx_old_cycles; | 11 ngx_array_t ngx_old_cycles; |
12 | 12 |
13 static ngx_pool_t *ngx_temp_pool; | 13 static ngx_pool_t *ngx_temp_pool; |
14 static ngx_event_t ngx_cleaner_event; | 14 static ngx_event_t ngx_cleaner_event; |
15 | |
16 ngx_uint_t ngx_test_config; | |
15 | 17 |
16 | 18 |
17 /* STUB NAME */ | 19 /* STUB NAME */ |
18 static ngx_connection_t dumb; | 20 static ngx_connection_t dumb; |
19 /* STUB */ | 21 /* STUB */ |
261 for (i = 0; i < cycle->listening.nelts; i++) { | 263 for (i = 0; i < cycle->listening.nelts; i++) { |
262 ls[i].new = 1; | 264 ls[i].new = 1; |
263 } | 265 } |
264 } | 266 } |
265 | 267 |
266 if (!failed) { | 268 if (!ngx_test_config && !failed) { |
267 if (ngx_open_listening_sockets(cycle) == NGX_ERROR) { | 269 if (ngx_open_listening_sockets(cycle) == NGX_ERROR) { |
268 failed = 1; | 270 failed = 1; |
269 } | 271 } |
270 } | 272 } |
271 } | 273 } |