mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 14:58:20 +00:00
Win32: fixed shm.handle loss on reload.
This commit is contained in:
parent
c8aa659e45
commit
153dbf3877
1 changed files with 3 additions and 0 deletions
|
|
@ -441,6 +441,9 @@ ngx_init_cycle(ngx_cycle_t *old_cycle)
|
|||
&& !shm_zone[i].noreuse)
|
||||
{
|
||||
shm_zone[i].shm.addr = oshm_zone[n].shm.addr;
|
||||
#if (NGX_WIN32)
|
||||
shm_zone[i].shm.handle = oshm_zone[n].shm.handle;
|
||||
#endif
|
||||
|
||||
if (shm_zone[i].init(&shm_zone[i], oshm_zone[n].data)
|
||||
!= NGX_OK)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue