Mercurial > hg > nginx
comparison src/os/unix/ngx_freebsd_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 | 744ccb59062d |
children | 5e73d0ea4dab |
comparison
equal
deleted
inserted
replaced
401:b32ca005e025 | 402:f209f3391020 |
---|---|
118 | 118 |
119 /* get the file buf */ | 119 /* get the file buf */ |
120 | 120 |
121 if (cl && cl->buf->in_file && send < limit) { | 121 if (cl && cl->buf->in_file && send < limit) { |
122 file = cl->buf; | 122 file = cl->buf; |
123 fsize = 0; | |
124 | 123 |
125 /* coalesce the neighbouring file bufs */ | 124 /* coalesce the neighbouring file bufs */ |
126 | 125 |
127 do { | 126 do { |
128 size = (size_t) (cl->buf->file_last - cl->buf->file_pos); | 127 size = (size_t) (cl->buf->file_last - cl->buf->file_pos); |