diff src/http/ngx_http.c @ 5124:5482671df278

Use NGX_DEFAULT_POOL_SIZE macro where appropriate.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 21 Mar 2013 16:03:24 +0000
parents c0f7b94e88ba
children fbaae7d1c033
line wrap: on
line diff
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -1479,7 +1479,7 @@ ngx_http_server_names(ngx_conf_t *cf, ng
 
     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;
     }