Mercurial > hg > nginx-mail
comparison src/os/unix/ngx_linux_sendfile_chain.c @ 134:1898c6d03d90 NGINX_0_3_14
nginx 0.3.14
*) Bugfix: in the 304 response the body was transferred; bug appeared
in 0.3.13.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 05 Dec 2005 00:00:00 +0300 |
parents | df17fbafec8f |
children | 8e6d4d96ec4c |
comparison
equal
deleted
inserted
replaced
133:e7ac35c352cb | 134:1898c6d03d90 |
---|---|
21 | 21 |
22 | 22 |
23 #define NGX_HEADERS 8 | 23 #define NGX_HEADERS 8 |
24 | 24 |
25 | 25 |
26 ngx_chain_t *ngx_linux_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, | 26 ngx_chain_t * |
27 off_t limit) | 27 ngx_linux_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit) |
28 { | 28 { |
29 int rc, tcp_nodelay; | 29 int rc, tcp_nodelay; |
30 u_char *prev; | 30 u_char *prev; |
31 off_t size, send, prev_send, aligned, sent, fprev; | 31 off_t size, send, prev_send, aligned, sent, fprev; |
32 size_t file_size; | 32 size_t file_size; |