]> git.kaiwu.me - nginx.git/commit
Resolver: allocate resolver from configuration pool.
authorRuslan Ermilov <ru@nginx.com>
Wed, 13 Jun 2018 19:37:42 +0000 (22:37 +0300)
committerRuslan Ermilov <ru@nginx.com>
Wed, 13 Jun 2018 19:37:42 +0000 (22:37 +0300)
commit454289891716431dacb7dd15786cf37c3b295077
tree1b15390ca826457d490ef2e7b87a7ae21c1205aa
parent9b6bc8a5787d270a54a3465a23eef22cee870e37
Resolver: allocate resolver from configuration pool.

Before 4a8c9139e579, ngx_resolver_create() didn't use configuration
pool, and allocations were done using malloc().

In 016352c19049, when resolver gained support of several servers,
new allocations were done from the pool.
src/core/ngx_resolver.c