aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_readv_chain.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-10-19 19:57:23 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-10-19 19:57:23 +0000
commit13829b7316411fa13c848015e1011a53405f37be (patch)
treea0b244ef460d4160a71b593ea8bc6f751466f21b /src/os/unix/ngx_readv_chain.c
parent091f7d6e83b2ee38b44b15ff583f76e705baa43d (diff)
downloadnginx-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.c2
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;