comparison src/http/ngx_http_write_filter_module.c @ 507:cd3117ad9aab release-0.1.28

nginx-0.1.28-RELEASE import *) Bugfix: nginx hogs CPU while proxying the huge files. *) Bugfix: nginx could not be built by gcc 4.0 on Linux.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 08 Apr 2005 15:18:55 +0000
parents d4ea69372b94
children 9b8c906f6e63
comparison
equal deleted inserted replaced
506:005e65646622 507:cd3117ad9aab
229 229
230 if (chain == NGX_CHAIN_ERROR) { 230 if (chain == NGX_CHAIN_ERROR) {
231 return NGX_ERROR; 231 return NGX_ERROR;
232 } 232 }
233 233
234 for (cl = ctx->out; cl && cl != chain; /* void */) {
235 ln = cl;
236 cl = cl->next;
237 ngx_free_chain(r->pool, ln);
238 }
239
234 ctx->out = chain; 240 ctx->out = chain;
235 241
236 if (chain || (last && c->buffered)) { 242 if (chain || (last && c->buffered)) {
237 return NGX_AGAIN; 243 return NGX_AGAIN;
238 } 244 }