Mercurial > hg > nginx
comparison src/os/unix/ngx_linux_sendfile_chain.c @ 262:8c5bdde0d9f0
nginx-0.0.2-2004-02-18-18:45:21 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 18 Feb 2004 15:45:21 +0000 |
parents | b6793bc5034b |
children | d4e65d74db9f |
comparison
equal
deleted
inserted
replaced
261:bdd631bf1a1c | 262:8c5bdde0d9f0 |
---|---|
50 prev = NULL; | 50 prev = NULL; |
51 iov = NULL; | 51 iov = NULL; |
52 | 52 |
53 /* create the iovec and coalesce the neighbouring hunks */ | 53 /* create the iovec and coalesce the neighbouring hunks */ |
54 | 54 |
55 for (cl = in; cl; cl = cl->next) { | 55 for (cl = in; cl && header.nelts < IOV_MAX; cl = cl->next) { |
56 if (ngx_hunk_special(cl->hunk)) { | 56 if (ngx_hunk_special(cl->hunk)) { |
57 continue; | 57 continue; |
58 } | 58 } |
59 | 59 |
60 if (!ngx_hunk_in_memory_only(cl->hunk)) { | 60 if (!ngx_hunk_in_memory_only(cl->hunk)) { |