diff src/os/unix/ngx_linux_config.h @ 471:31ee1b50354f release-0.1.10

nginx-0.1.10-RELEASE import *) Bugfix: if the request without arguments contains "//", "/./", "/../" or "%XX" then the lost character in the request line was lost; the bug had appeared in 0.1.9. *) Bugfix: the fix in 0.1.9 for the files bigger than 2G on Linux did not work.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 26 Nov 2004 09:33:59 +0000
parents 2ff194b74f1e
children c3c2848fc081
line wrap: on
line diff
--- a/src/os/unix/ngx_linux_config.h
+++ b/src/os/unix/ngx_linux_config.h
@@ -61,7 +61,7 @@
 #include <sys/sendfile.h>
 #else
 extern ssize_t sendfile(int s, int fd, int32_t *offset, size_t size);
-#define NGX_SENDFILE_LIMIT  (NGX_MAX_UINT32_VALUE + 1)
+#define NGX_SENDFILE_LIMIT  0x80000000
 #endif