quick fix for case when ssl_session_cache defined,

but ssl is not enabled in any server
This commit is contained in:
Igor Sysoev 2007-01-15 17:48:31 +00:00
parent 8488a1ce11
commit f83e627473

View File

@ -373,6 +373,11 @@ ngx_init_cycle(ngx_cycle_t *old_cycle)
goto failed;
}
if (shm_zone[i].init == NULL) {
/* unused shared zone */
continue;
}
shm_zone[i].shm.log = cycle->log;
opart = &old_cycle->shared_memory.part;