aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_palloc.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-06-05 13:27:12 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-06-05 13:27:12 +0000
commit7f9305cc2c9bc7b9ecda91508c041bd2fca5c0b6 (patch)
tree5df98e9904c16a663c6402081e413cea20d0ad16 /src/core/ngx_palloc.h
parent8e5f0acbc2ea99fe80e38479590ec6fec67b3916 (diff)
downloadnginx-7f9305cc2c9bc7b9ecda91508c041bd2fca5c0b6.tar.gz
nginx-7f9305cc2c9bc7b9ecda91508c041bd2fca5c0b6.zip
do not test a pool block space if we can not allocated from the block 4 times
Diffstat (limited to 'src/core/ngx_palloc.h')
-rw-r--r--src/core/ngx_palloc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ngx_palloc.h b/src/core/ngx_palloc.h
index f9d5216ed..7706df19c 100644
--- a/src/core/ngx_palloc.h
+++ b/src/core/ngx_palloc.h
@@ -46,6 +46,7 @@ typedef struct {
u_char *last;
u_char *end;
ngx_pool_t *next;
+ ngx_uint_t failed;
} ngx_pool_data_t;