comparison src/http/ngx_http_write_filter_module.c @ 56:3050baa54a26 NGINX_0_1_28

nginx 0.1.28 *) Bugfix: nginx hogs CPU while proxying the huge files. *) Bugfix: nginx could not be built by gcc 4.0 on Linux.
author Igor Sysoev <http://sysoev.ru>
date Fri, 08 Apr 2005 00:00:00 +0400
parents 72eb30262aac
children b55cbf18157e
comparison
equal deleted inserted replaced
55:729de7d75018 56:3050baa54a26
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 }