mirror of
https://github.com/nginx/nginx.git
synced 2026-10-20 19:11:05 +00: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
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue