aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_linux_config.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-11-26 09:33:59 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-11-26 09:33:59 +0000
commit069899bfb5f62503122a57aeb5dc8ed492f14485 (patch)
treefd643b062444c8b07ae485e9e03d3f68530cc96c /src/os/unix/ngx_linux_config.h
parent6b8c4aebf072a4a3c0946f070a0c6b384b8ad8f2 (diff)
downloadnginx-069899bfb5f62503122a57aeb5dc8ed492f14485.tar.gz
nginx-069899bfb5f62503122a57aeb5dc8ed492f14485.zip
nginx-0.1.10-RELEASE importrelease-0.1.10
*) 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.
Diffstat (limited to 'src/os/unix/ngx_linux_config.h')
-rw-r--r--src/os/unix/ngx_linux_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_linux_config.h b/src/os/unix/ngx_linux_config.h
index 620b59d8c..84eaf5c6a 100644
--- 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