diff src/core/ngx_buf.c @ 643:947c6fd27699 release-0.3.43

nginx-0.3.43-RELEASE import *) Bugfix: in the SSI.
author Igor Sysoev <igor@sysoev.ru>
date Wed, 26 Apr 2006 15:21:08 +0000
parents 326634fb9d47
children 4946078f0a79
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;