comparison src/os/unix/ngx_linux_sendfile_chain.c @ 469:2ff194b74f1e release-0.1.9

nginx-0.1.9-RELEASE import *) Bugfix: the proxied request was sent without arguments if the request contains "//", "/./", "/../" or "%XX". *) Bugfix: the large compressed responses may be transferred not completely. *) Bugfix: the files bigger than 2G was not transferred on Linux that does not support sendfile64(). *) Bugfix: while the build configuration on Linux the --with-poll_module parameter was required; the bug had appeared in 0.1.8.
author Igor Sysoev <igor@sysoev.ru>
date Thu, 25 Nov 2004 16:17:31 +0000
parents a88a3e4e158f
children 8e8f3af115b5
comparison
equal deleted inserted replaced
468:1a67596d0349 469:2ff194b74f1e
11 11
12 /* 12 /*
13 * On Linux up to 2.4.21 sendfile() (syscall #187) works with 32-bit 13 * On Linux up to 2.4.21 sendfile() (syscall #187) works with 32-bit
14 * offsets only and the including <sys/sendfile.h> breaks the compiling 14 * offsets only and the including <sys/sendfile.h> breaks the compiling
15 * if off_t is 64 bit wide. So we use own sendfile() definition where offset 15 * if off_t is 64 bit wide. So we use own sendfile() definition where offset
16 * parameter is int32_t and use sendfile() with the file parts below 2G. 16 * parameter is int32_t and use sendfile() for the file parts below 2G only.
17 * 17 *
18 * Linux 2.4.21 has a new sendfile64() syscall #239. 18 * Linux 2.4.21 has a new sendfile64() syscall #239.
19 */ 19 */
20 20
21 21