Mercurial > hg > nginx-mail
comparison src/core/ngx_palloc.h @ 300:cba14c1e2a4b NGINX_0_5_20
nginx 0.5.20
*) Feature: the "sendfile_max_chunk" directive.
*) Feature: the "$http_...", "$sent_http_...", and "$upstream_http_..."
variables may be changed using the "set" directive.
*) Bugfix: a segmentation fault might occur in worker process if the
SSI command 'if expr="$var = /"' was used.
*) Bugfix: trailing boundary of multipart range response was
transferred incorrectly.
Thanks to Evan Miller.
*) Bugfix: nginx did not work on Solaris/sparc64 if it was built by Sun
Studio.
Thanks to Andrei Nigmatulin.
*) Bugfix: the ngx_http_perl_module could not built by Solaris make.
Thanks to Andrei Nigmatulin.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 07 May 2007 00:00:00 +0400 |
parents | 704622b2528a |
children | bc21d9cd9c54 |
comparison
equal
deleted
inserted
replaced
299:7d0d14dc5fd7 | 300:cba14c1e2a4b |
---|---|
17 * On FreeBSD 5.x it allows to use the zero copy sending. | 17 * On FreeBSD 5.x it allows to use the zero copy sending. |
18 * On Windows NT it decreases a number of locked pages in a kernel. | 18 * On Windows NT it decreases a number of locked pages in a kernel. |
19 */ | 19 */ |
20 #define NGX_MAX_ALLOC_FROM_POOL (ngx_pagesize - 1) | 20 #define NGX_MAX_ALLOC_FROM_POOL (ngx_pagesize - 1) |
21 | 21 |
22 #define NGX_DEFAULT_POOL_SIZE (16 * 1024) | 22 #define NGX_DEFAULT_POOL_SIZE (16 * 1024) |
23 #define NGX_MIN_POOL_SIZE \ | |
24 (sizeof(ngx_pool_t) + 2 * sizeof(ngx_pool_large_t)) | |
23 | 25 |
24 | 26 |
25 typedef void (*ngx_pool_cleanup_pt)(void *data); | 27 typedef void (*ngx_pool_cleanup_pt)(void *data); |
26 | 28 |
27 typedef struct ngx_pool_cleanup_s ngx_pool_cleanup_t; | 29 typedef struct ngx_pool_cleanup_s ngx_pool_cleanup_t; |