comparison src/core/ngx_cycle.c @ 1032:899050121f43

quick fix for case when ssl_session_cache defined, but ssl is not enabled in any server
author Igor Sysoev <igor@sysoev.ru>
date Mon, 15 Jan 2007 17:48:31 +0000
parents 7fdcb5b9f063
children c4f666fc3a7e
comparison
equal deleted inserted replaced
1031:bf1785dfb75f 1032:899050121f43
371 "zero size shared memory zone \"%V\"", 371 "zero size shared memory zone \"%V\"",
372 &shm_zone[i].name); 372 &shm_zone[i].name);
373 goto failed; 373 goto failed;
374 } 374 }
375 375
376 if (shm_zone[i].init == NULL) {
377 /* unused shared zone */
378 continue;
379 }
380
376 shm_zone[i].shm.log = cycle->log; 381 shm_zone[i].shm.log = cycle->log;
377 382
378 opart = &old_cycle->shared_memory.part; 383 opart = &old_cycle->shared_memory.part;
379 oshm_zone = opart->elts; 384 oshm_zone = opart->elts;
380 385