mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -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;
|
goto failed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (shm_zone[i].init == NULL) {
|
||||||
|
/* unused shared zone */
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
shm_zone[i].shm.log = cycle->log;
|
shm_zone[i].shm.log = cycle->log;
|
||||||
|
|
||||||
opart = &old_cycle->shared_memory.part;
|
opart = &old_cycle->shared_memory.part;
|
||||||
|
Loading…
Reference in New Issue
Block a user