Mercurial > hg > nginx
comparison src/os/unix/ngx_linux_sendfile_chain.c @ 402:f209f3391020
nginx-0.0.9-2004-07-28-20:16:50 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 28 Jul 2004 16:16:50 +0000 |
parents | 7650aea1816f |
children | 5e73d0ea4dab |
comparison
equal
deleted
inserted
replaced
401:b32ca005e025 | 402:f209f3391020 |
---|---|
125 | 125 |
126 /* get the file buf */ | 126 /* get the file buf */ |
127 | 127 |
128 if (header.nelts == 0 && cl && cl->buf->in_file && send < limit) { | 128 if (header.nelts == 0 && cl && cl->buf->in_file && send < limit) { |
129 file = cl->buf; | 129 file = cl->buf; |
130 fsize = 0; | |
131 | 130 |
132 /* coalesce the neighbouring file bufs */ | 131 /* coalesce the neighbouring file bufs */ |
133 | 132 |
134 do { | 133 do { |
135 size = (size_t) (cl->buf->file_last - cl->buf->file_pos); | 134 size = (size_t) (cl->buf->file_last - cl->buf->file_pos); |