Mercurial > hg > nginx
comparison src/os/unix/ngx_freebsd_sendfile_chain.c @ 194:2357fa41738a
nginx-0.0.1-2003-11-21-09:30:49 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 21 Nov 2003 06:30:49 +0000 |
parents | 4c698194c56d |
children | 8dee38ea9117 |
comparison
equal
deleted
inserted
replaced
193:dd66383796a5 | 194:2357fa41738a |
---|---|
23 ngx_chain_t *ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in) | 23 ngx_chain_t *ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in) |
24 { | 24 { |
25 int rc, eintr, eagain; | 25 int rc, eintr, eagain; |
26 char *prev; | 26 char *prev; |
27 off_t sent, fprev; | 27 off_t sent, fprev; |
28 ssize_t hsize, fsize, size; | 28 size_t hsize, fsize, size; |
29 struct iovec *iov; | 29 struct iovec *iov; |
30 struct sf_hdtr hdtr; | 30 struct sf_hdtr hdtr; |
31 ngx_err_t err; | 31 ngx_err_t err; |
32 ngx_array_t header, trailer; | 32 ngx_array_t header, trailer; |
33 ngx_event_t *wev; | 33 ngx_event_t *wev; |