comparison src/core/ngx_output_chain.c @ 496:f39b9e29530d NGINX_0_8_0

nginx 0.8.0 *) Feature: the "keepalive_requests" directive. *) Feature: the "limit_rate_after" directive. Thanks to Ivan Debnar. *) Bugfix: XLST filter did not work in subrequests. *) Bugfix: in relative paths handling in nginx/Windows. *) Bugfix: in proxy_store, fastcgi_store, proxy_cache, and fastcgi_cache in nginx/Windows. *) Bugfix: in memory allocation error handling. Thanks to Maxim Dounin and Kirill A. Korinskiy.
author Igor Sysoev <http://sysoev.ru>
date Tue, 02 Jun 2009 00:00:00 +0400
parents ad0a34a8efa6
children 86dad910eeb6
comparison
equal deleted inserted replaced
495:6d9fb4461113 496:f39b9e29530d
312 cl->buf = in->buf; 312 cl->buf = in->buf;
313 in = in->next; 313 in = in->next;
314 314
315 #endif 315 #endif
316 316
317 cl->next = NULL;
317 *ll = cl; 318 *ll = cl;
318 ll = &cl->next; 319 ll = &cl->next;
319 } 320 }
320
321 *ll = NULL;
322 321
323 return NGX_OK; 322 return NGX_OK;
324 } 323 }
325 324
326 325
501 } 500 }
502 501
503 if (src->pos == src->last) { 502 if (src->pos == src->last) {
504 dst->flush = src->flush; 503 dst->flush = src->flush;
505 dst->last_buf = src->last_buf; 504 dst->last_buf = src->last_buf;
505 dst->last_in_chain = src->last_in_chain;
506 } 506 }
507 507
508 } else { 508 } else {
509 509
510 #if (NGX_HAVE_ALIGNED_DIRECTIO) 510 #if (NGX_HAVE_ALIGNED_DIRECTIO)
575 src->file_pos += n; 575 src->file_pos += n;
576 576
577 if (src->file_pos == src->file_last) { 577 if (src->file_pos == src->file_last) {
578 dst->flush = src->flush; 578 dst->flush = src->flush;
579 dst->last_buf = src->last_buf; 579 dst->last_buf = src->last_buf;
580 dst->last_in_chain = src->last_in_chain;
580 } 581 }
581 } 582 }
582 583
583 return NGX_OK; 584 return NGX_OK;
584 } 585 }