mirror of
https://github.com/nginx/nginx.git
synced 2024-12-11 17:59:00 +08:00
Core: bugfix for the ngx_slab_max_size case.
This commit is contained in:
parent
cc870236b2
commit
584692027b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user