| commit | 7706b2c42bb2089cc6cff46ba68fe6cb06bca00d | [log] [tgz] | 
|---|---|---|
| author | Valentin Bartenev <vbart@nginx.com> | Wed Mar 23 17:44:04 2016 +0300 | 
| committer | Valentin Bartenev <vbart@nginx.com> | Wed Mar 23 17:44:04 2016 +0300 | 
| tree | 4ac5e2585ab902d4815005b9a2411ebdc49c0a32 | |
| parent | 21e9b69b04f894f70eabd1a005f2a22b7dddcc98 [diff] | 
Core: use ngx_palloc_small() to allocate ngx_pool_large_t. This structure cannot be allocated as a large block anyway, otherwise that will result in infinite recursion, since each large allocation requires to allocate another ngx_pool_large_t. The room for the structure is guaranteed by the NGX_MIN_POOL_SIZE constant.