diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-10-19 19:57:23 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-10-19 19:57:23 +0000 |
commit | 13829b7316411fa13c848015e1011a53405f37be (patch) | |
tree | a0b244ef460d4160a71b593ea8bc6f751466f21b /src/os/unix/ngx_readv_chain.c | |
parent | 091f7d6e83b2ee38b44b15ff583f76e705baa43d (diff) | |
download | nginx-13829b7316411fa13c848015e1011a53405f37be.tar.gz nginx-13829b7316411fa13c848015e1011a53405f37be.zip |
nginx-0.0.1-2003-10-19-23:57:23 import
Diffstat (limited to 'src/os/unix/ngx_readv_chain.c')
-rw-r--r-- | src/os/unix/ngx_readv_chain.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os/unix/ngx_readv_chain.c b/src/os/unix/ngx_readv_chain.c index 744bf99bc..7fa7d84f5 100644 --- a/src/os/unix/ngx_readv_chain.c +++ b/src/os/unix/ngx_readv_chain.c @@ -17,6 +17,8 @@ ssize_t ngx_readv_chain(ngx_connection_t *c, ngx_chain_t *entry) ngx_init_array(io, c->pool, 10, sizeof(struct iovec), NGX_ERROR); + /* TODO: coalesce the neighbouring chain entries */ + while (entry) { ngx_test_null(iov, ngx_push_array(&io), NGX_ERROR); iov->iov_base = entry->hunk->pos; |