comparison src/os/unix/ngx_freebsd_sendfile_chain.c @ 154:eac26585476e

nginx-0.0.1-2003-10-22-11:05:29 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 22 Oct 2003 07:05:29 +0000
parents c71aeb75c071
children 46eb23d9471d
comparison
equal deleted inserted replaced
153:c71aeb75c071 154:eac26585476e
81 81
82 /* get the file hunk */ 82 /* get the file hunk */
83 83
84 if (ce && (ce->hunk->type & NGX_HUNK_FILE)) { 84 if (ce && (ce->hunk->type & NGX_HUNK_FILE)) {
85 file = ce->hunk; 85 file = ce->hunk;
86 ce = ce->next;
87 fsize = (size_t) (file->file_last - file->file_pos); 86 fsize = (size_t) (file->file_last - file->file_pos);
88 fprev = file->file_last; 87 fprev = file->file_last;
88 ce = ce->next;
89 89
90 /* coalesce the neighbouring file hunks */ 90 /* coalesce the neighbouring file hunks */
91 91
92 while (ce && (ce->hunk->type & NGX_HUNK_FILE)) { 92 while (ce && (ce->hunk->type & NGX_HUNK_FILE)) {
93 if (file->file->fd != ce->hunk->file->fd 93 if (file->file->fd != ce->hunk->file->fd