commit | 584692027b5ffc607ef1b30126bf1f6d74cdfc18 | [log] [tgz] |
---|---|---|
author | Jianjun Zheng <codeeply@gmail.com> | Wed Jun 18 16:39:59 2014 +0800 |
committer | Jianjun Zheng <codeeply@gmail.com> | Wed Jun 18 16:39:59 2014 +0800 |
tree | 380cebfaaf024e7c8f6bf32386a088aadefaff78 | |
parent | cc870236b2f3223b1db67346e70a8b29183208e6 [diff] |
Core: bugfix for the ngx_slab_max_size case.
diff --git a/src/core/ngx_slab.c b/src/core/ngx_slab.c index 24f2ff1..c112506 100644 --- a/src/core/ngx_slab.c +++ b/src/core/ngx_slab.c
@@ -160,7 +160,7 @@ 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);