mirror of
https://github.com/nginx/nginx.git
synced 2025-02-16 18:14:51 -06:00
quick fix for case when ssl_session_cache defined,
but ssl is not enabled in any server
This commit is contained in:
parent
8488a1ce11
commit
f83e627473
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user