Mercurial > hg > nginx-quic
changeset 6132:859ce1c41f64
Win32: fixed shm.handle loss on reload.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 27 Apr 2015 03:44:30 +0300 |
parents | be3aaf9f0005 |
children | af7eba90645d |
files | src/core/ngx_cycle.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/core/ngx_cycle.c +++ b/src/core/ngx_cycle.c @@ -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)