Core: bugfix for the ngx_slab_max_size case.

This commit is contained in:
Jianjun Zheng 2014-06-18 16:39:59 +08:00
parent cc870236b2
commit 584692027b

View File

@ -160,7 +160,7 @@ ngx_slab_alloc_locked(ngx_slab_pool_t *pool, size_t size)
ngx_uint_t i, slot, shift, map;
ngx_slab_page_t *page, *prev, *slots;
if (size >= ngx_slab_max_size) {
if (size > ngx_slab_max_size) {
ngx_log_debug1(NGX_LOG_DEBUG_ALLOC, ngx_cycle->log, 0,
"slab alloc: %uz", size);