Mercurial > hg > nginx-vendor-current
comparison src/core/ngx_slab.c @ 646:615b5ea36fc0 NGINX_1_1_7
nginx 1.1.7
*) Feature: support of several resolvers in the "resolver" directive.
Thanks to Kirill A. Korinskiy.
*) Bugfix: a segmentation fault occurred on start or while
reconfiguration if the "ssl" directive was used at http level and
there was no "ssl_certificate" defined.
*) Bugfix: reduced memory consumption while proxying of big files if
they were buffered to disk.
*) Bugfix: a segmentation fault might occur in a worker process if
"proxy_http_version 1.1" directive was used.
*) Bugfix: in the "expires @time" directive.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 31 Oct 2011 00:00:00 +0400 |
parents | 549994537f15 |
children | d0f7a625f27c |
comparison
equal
deleted
inserted
replaced
645:e461dead01e9 | 646:615b5ea36fc0 |
---|---|
40 #endif | 40 #endif |
41 | 41 |
42 | 42 |
43 #if (NGX_DEBUG_MALLOC) | 43 #if (NGX_DEBUG_MALLOC) |
44 | 44 |
45 #define ngx_slab_junk(p, size) ngx_memset(p, 0xD0, size) | 45 #define ngx_slab_junk(p, size) ngx_memset(p, 0xA5, size) |
46 | 46 |
47 #else | 47 #else |
48 | 48 |
49 #if (NGX_FREEBSD) | 49 #if (NGX_HAVE_DEBUG_MALLOC) |
50 | 50 |
51 #define ngx_slab_junk(p, size) \ | 51 #define ngx_slab_junk(p, size) \ |
52 if (ngx_freebsd_debug_malloc) ngx_memset(p, 0xD0, size) | 52 if (ngx_debug_malloc) ngx_memset(p, 0xA5, size) |
53 | 53 |
54 #else | 54 #else |
55 | 55 |
56 #define ngx_slab_junk(p, size) | 56 #define ngx_slab_junk(p, size) |
57 | 57 |