summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2013-03-21 16:03:24 +0000
committerRuslan Ermilov <ru@nginx.com>2013-03-21 16:03:24 +0000
commit56fce56f4f06a4c1a57a51c1bb1513397b053b1e (patch)
treee4e67d960a0989ba41eaaf737947c648f16aed44 /src/http/ngx_http.c
parent7b80e43389c313b15574df255dbf5336d6b1dc20 (diff)
downloadnginx-56fce56f4f06a4c1a57a51c1bb1513397b053b1e.tar.gz
nginx-56fce56f4f06a4c1a57a51c1bb1513397b053b1e.tar.bz2
Use NGX_DEFAULT_POOL_SIZE macro where appropriate.
Diffstat (limited to 'src/http/ngx_http.c')
-rw-r--r--src/http/ngx_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
index 8704c404c..987ae54df 100644
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -1479,7 +1479,7 @@ ngx_http_server_names(ngx_conf_t *cf, ngx_http_core_main_conf_t *cmcf,
ngx_memzero(&ha, sizeof(ngx_hash_keys_arrays_t));
- ha.temp_pool = ngx_create_pool(16384, cf->log);
+ ha.temp_pool = ngx_create_pool(NGX_DEFAULT_POOL_SIZE, cf->log);
if (ha.temp_pool == NULL) {
return NGX_ERROR;
}