diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-04-26 19:21:08 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-04-26 19:21:08 +0400 |
commit | b051817366173cdec403275c81fafc48e26e24d0 (patch) | |
tree | e8af9cb65d429b6729dfd1f2d383a047979c4dd1 /src/core/ngx_buf.c | |
parent | f8987f00a87e6bd256d070cb24db1f7f986cbb81 (diff) |
nginx-0.3.43-RELEASE importrelease-0.3.43
*) Bugfix: in the SSI.
Diffstat (limited to 'src/core/ngx_buf.c')
-rw-r--r-- | src/core/ngx_buf.c | 6 |
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; |