comparison src/os/unix/ngx_linux_sendfile_chain.c @ 585:401de5a43ba5 release-0.3.14

nginx-0.3.14-RELEASE import *) Bugfix: in the 304 response the body was transferred; the bug had appeared in 0.3.13.
author Igor Sysoev <igor@sysoev.ru>
date Mon, 05 Dec 2005 16:59:05 +0000
parents 4d9ea73a627a
children d4e858a5751a
comparison
equal deleted inserted replaced
584:13f8ebdc82ef 585:401de5a43ba5
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;