diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-04-26 15:21:08 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-04-26 15:21:08 +0000 |
commit | b051817366173cdec403275c81fafc48e26e24d0 (patch) | |
tree | e8af9cb65d429b6729dfd1f2d383a047979c4dd1 /src/core | |
parent | f8987f00a87e6bd256d070cb24db1f7f986cbb81 (diff) | |
download | nginx-release-0.3.43.tar.gz nginx-release-0.3.43.zip |
nginx-0.3.43-RELEASE importrelease-0.3.43
*) Bugfix: in the SSI.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/nginx.h | 2 | ||||
-rw-r--r-- | src/core/ngx_buf.c | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/core/nginx.h b/src/core/nginx.h index d8be2a77e..9a08f130f 100644 --- a/src/core/nginx.h +++ b/src/core/nginx.h @@ -8,7 +8,7 @@ #define _NGINX_H_INCLUDED_ -#define NGINX_VER "nginx/0.3.42" +#define NGINX_VER "nginx/0.3.43" #define NGINX_VAR "NGINX" #define NGX_OLDPID_EXT ".oldbin" 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; |