aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_resolver.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2016-03-23 17:44:04 +0300
committerValentin Bartenev <vbart@nginx.com>2016-03-23 17:44:04 +0300
commit9d08bda415b9c987b7a3503bf5fa45cfda15df2e (patch)
tree4ac5e2585ab902d4815005b9a2411ebdc49c0a32 /src/core/ngx_resolver.c
parent21dfe90a4e7015c0e6530208c2e6a4d8a9284ce1 (diff)
downloadnginx-9d08bda415b9c987b7a3503bf5fa45cfda15df2e.tar.gz
nginx-9d08bda415b9c987b7a3503bf5fa45cfda15df2e.zip
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.
Diffstat (limited to 'src/core/ngx_resolver.c')
0 files changed, 0 insertions, 0 deletions