Mercurial > hg > nginx
comparison 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 |
comparison
equal
deleted
inserted
replaced
5123:4fef8ed52389 | 5124:5482671df278 |
---|---|
1477 regex = 0; | 1477 regex = 0; |
1478 #endif | 1478 #endif |
1479 | 1479 |
1480 ngx_memzero(&ha, sizeof(ngx_hash_keys_arrays_t)); | 1480 ngx_memzero(&ha, sizeof(ngx_hash_keys_arrays_t)); |
1481 | 1481 |
1482 ha.temp_pool = ngx_create_pool(16384, cf->log); | 1482 ha.temp_pool = ngx_create_pool(NGX_DEFAULT_POOL_SIZE, cf->log); |
1483 if (ha.temp_pool == NULL) { | 1483 if (ha.temp_pool == NULL) { |
1484 return NGX_ERROR; | 1484 return NGX_ERROR; |
1485 } | 1485 } |
1486 | 1486 |
1487 ha.pool = cf->pool; | 1487 ha.pool = cf->pool; |