]> git.kaiwu.me - nginx.git/commit
Slab: fixed initialization on win32.
authorRuslan Ermilov <ru@nginx.com>
Tue, 8 Aug 2017 12:16:01 +0000 (15:16 +0300)
committerRuslan Ermilov <ru@nginx.com>
Tue, 8 Aug 2017 12:16:01 +0000 (15:16 +0300)
commit5f628fef3b837b64096f8e064d51963b1396ffb4
treec2073c8d7c66ff7be9b0213e4f11e826de34f783
parentc9a81b29b5a7699f3c25c83b6ee9e0c2a07f5f79
Slab: fixed initialization on win32.

On Windows, a worker process does not call ngx_slab_init() from
ngx_init_zone_pool(), so ngx_slab_max_size, ngx_slab_exact_size,
and ngx_slab_exact_shift were left uninitialized.
src/core/nginx.c
src/core/ngx_slab.c
src/core/ngx_slab.h