diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-11-25 16:17:31 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-11-25 16:17:31 +0000 |
commit | f69060481edeaca075669b50e34ca8ec821c2401 (patch) | |
tree | 6fa6907cc2fdfe0ac6bcdf7f63e76a7f8b41f33f /src/os/unix/ngx_linux_config.h | |
parent | 865a7de474a13c5f1202f97fac31565f33a5e1a1 (diff) | |
download | nginx-f69060481edeaca075669b50e34ca8ec821c2401.tar.gz nginx-f69060481edeaca075669b50e34ca8ec821c2401.zip |
nginx-0.1.9-RELEASE importrelease-0.1.9
*) 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.
Diffstat (limited to 'src/os/unix/ngx_linux_config.h')
-rw-r--r-- | src/os/unix/ngx_linux_config.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/os/unix/ngx_linux_config.h b/src/os/unix/ngx_linux_config.h index 57ee5057e..620b59d8c 100644 --- a/src/os/unix/ngx_linux_config.h +++ b/src/os/unix/ngx_linux_config.h @@ -56,35 +56,37 @@ #include <sys/prctl.h> #endif + #if (NGX_HAVE_SENDFILE64) #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) #endif -#if (HAVE_POLL) +#if (NGX_HAVE_POLL) #include <poll.h> #endif -#if (HAVE_EPOLL) +#if (NGX_HAVE_EPOLL) #include <sys/epoll.h> -#endif /* HAVE_EPOLL */ +#endif -#if defined TCP_DEFER_ACCEPT && !defined HAVE_DEFERRED_ACCEPT -#define HAVE_DEFERRED_ACCEPT 1 +#if defined TCP_DEFER_ACCEPT && !defined NGX_HAVE_DEFERRED_ACCEPT +#define NGX_HAVE_DEFERRED_ACCEPT 1 #endif -#ifndef HAVE_INHERITED_NONBLOCK -#define HAVE_INHERITED_NONBLOCK 0 +#ifndef NGX_HAVE_INHERITED_NONBLOCK +#define NGX_HAVE_INHERITED_NONBLOCK 0 #endif -#ifndef HAVE_SELECT_CHANGE_TIMEOUT -#define HAVE_SELECT_CHANGE_TIMEOUT 1 +#ifndef NGX_HAVE_SELECT_CHANGE_TIMEOUT +#define NGX_HAVE_SELECT_CHANGE_TIMEOUT 1 #endif #ifndef NGX_SETPROCTITLE_USES_ENV |