Mercurial > hg > nginx
comparison src/os/unix/ngx_freebsd_sendfile_chain.c @ 265:6468241715e6
nginx-0.0.2-2004-02-20-19:48:59 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 20 Feb 2004 16:48:59 +0000 |
parents | cd009bf7400d |
children | d4e65d74db9f |
comparison
equal
deleted
inserted
replaced
264:cd009bf7400d | 265:6468241715e6 |
---|---|
26 ngx_chain_t *ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in) | 26 ngx_chain_t *ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in) |
27 { | 27 { |
28 int rc; | 28 int rc; |
29 char *prev; | 29 char *prev; |
30 off_t sent, fprev; | 30 off_t sent, fprev; |
31 size_t hsize, fsize, size; | 31 size_t hsize, fsize; |
32 ssize_t size; | |
32 ngx_int_t eintr, eagain; | 33 ngx_int_t eintr, eagain; |
33 struct iovec *iov; | 34 struct iovec *iov; |
34 struct sf_hdtr hdtr; | 35 struct sf_hdtr hdtr; |
35 ngx_err_t err; | 36 ngx_err_t err; |
36 ngx_hunk_t *file; | 37 ngx_hunk_t *file; |