diff src/core/ngx_palloc.h @ 2920:cb7d05c097db

do not test a pool block space if we can not allocated from the block 4 times
author Igor Sysoev <igor@sysoev.ru>
date Fri, 05 Jun 2009 13:27:12 +0000
parents 3a8a53c0c42f
children d788521e4b0e
line wrap: on
line diff
--- 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;