diff src/core/ngx_buf.c @ 192:af7f2341ecc5 NGINX_0_3_43

nginx 0.3.43 *) Bugfix: in the SSI.
author Igor Sysoev <http://sysoev.ru>
date Wed, 26 Apr 2006 00:00:00 +0400
parents 82d695e3d662
children 003bd800ec2a
line wrap: on
line diff
--- a/src/core/ngx_buf.c
+++ b/src/core/ngx_buf.c
@@ -134,6 +134,12 @@ ngx_chain_add_copy(ngx_pool_t *pool, ngx
     }
 
     while (in) {
+
+        if (ngx_buf_sync_only(in->buf)) {
+            in = in->next;
+            continue;
+        }
+
         cl = ngx_alloc_chain_link(pool);
         if (cl == NULL) {
             return NGX_ERROR;