summaryrefslogtreecommitdiff
path: root/src/core/ngx_buf.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-04-26 15:17:20 +0000
committerJonathan Kolb <jon@b0g.us>2006-04-26 15:17:20 +0000
commit052afaa36d327993532eaef2427841d12ad6c8af (patch)
treedc5c2a7951d59c12bfa7c6dd2e01956262e74acc /src/core/ngx_buf.c
parentb29289f8669b359eb8d9466950c85446cac84897 (diff)
downloadnginx-052afaa36d327993532eaef2427841d12ad6c8af.tar.gz
Changes with nginx 0.3.43 26 Apr 2006v0.3.43
*) Bugfix: in the SSI.
Diffstat (limited to 'src/core/ngx_buf.c')
-rw-r--r--src/core/ngx_buf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/ngx_buf.c b/src/core/ngx_buf.c
index 31d990315..901c3f540 100644
--- 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_chain_t **chain, ngx_chain_t *in)
}
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;