comparison src/core/ngx_palloc.c @ 132:91372f004adf NGINX_0_3_13

nginx 0.3.13 *) Feature: the IMAP/POP3 proxy supports STARTTLS and STLS. *) Bugfix: the IMAP/POP3 proxy did not work with the select, poll, and /dev/poll methods. *) Bugfix: in SSI handling. *) Bugfix: now Solaris sendfilev() is not used to transfer the client request body to FastCGI-server via the unix domain socket. *) Bugfix: the "auth_basic" directive did not disable the authorization; bug appeared in 0.3.11.
author Igor Sysoev <http://sysoev.ru>
date Mon, 05 Dec 2005 00:00:00 +0300
parents 82d695e3d662
children 8e6d4d96ec4c
comparison
equal deleted inserted replaced
131:add6b1e86d38 132:91372f004adf
100 100
101 return m; 101 return m;
102 } 102 }
103 103
104 if ((size_t) (p->end - m) < NGX_ALIGNMENT) { 104 if ((size_t) (p->end - m) < NGX_ALIGNMENT) {
105 p->current = p->next; 105 pool->current = p->next;
106 } 106 }
107 107
108 if (p->next == NULL) { 108 if (p->next == NULL) {
109 break; 109 break;
110 } 110 }
115 n = ngx_create_pool((size_t) (p->end - (u_char *) p), p->log); 115 n = ngx_create_pool((size_t) (p->end - (u_char *) p), p->log);
116 if (n == NULL) { 116 if (n == NULL) {
117 return NULL; 117 return NULL;
118 } 118 }
119 119
120 if (p->current == NULL) { 120 if (pool->current == NULL) {
121 p->current = n; 121 pool->current = n;
122 } 122 }
123 123
124 p->next = n; 124 p->next = n;
125 m = ngx_align(n->last); 125 m = ngx_align(n->last);
126 n->last = m + size; 126 n->last = m + size;