comparison src/http/modules/ngx_http_fastcgi_module.c @ 4165:37e5bf2b392d stable-1.0

Merging r4137: Fixed loss of chain links in fastcgi module.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 30 Sep 2011 14:18:58 +0000
parents 36d2cd2e361d
children efd515ace6bb
comparison
equal deleted inserted replaced
4164:c48662671609 4165:37e5bf2b392d
1701 if (f->pos == f->last) { 1701 if (f->pos == f->last) {
1702 break; 1702 break;
1703 } 1703 }
1704 1704
1705 if (p->free) { 1705 if (p->free) {
1706 b = p->free->buf; 1706 cl = p->free;
1707 p->free = p->free->next; 1707 b = cl->buf;
1708 p->free = cl->next;
1709 ngx_free_chain(p->pool, cl);
1708 1710
1709 } else { 1711 } else {
1710 b = ngx_alloc_buf(p->pool); 1712 b = ngx_alloc_buf(p->pool);
1711 if (b == NULL) { 1713 if (b == NULL) {
1712 return NGX_ERROR; 1714 return NGX_ERROR;