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/win32 | |
parent | 865a7de474a13c5f1202f97fac31565f33a5e1a1 (diff) | |
download | nginx-release-0.1.9.tar.gz nginx-release-0.1.9.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/win32')
-rw-r--r-- | src/os/win32/ngx_os.h | 12 | ||||
-rw-r--r-- | src/os/win32/ngx_time.h | 2 | ||||
-rw-r--r-- | src/os/win32/ngx_win32_config.h | 32 |
3 files changed, 14 insertions, 32 deletions
diff --git a/src/os/win32/ngx_os.h b/src/os/win32/ngx_os.h index c27f8a80a..6d720fa58 100644 --- a/src/os/win32/ngx_os.h +++ b/src/os/win32/ngx_os.h @@ -15,18 +15,6 @@ #define NGX_IO_SENDFILE 1 #define NGX_IO_ZEROCOPY 2 -#if (HAVE_SENDFILE) -#define NGX_HAVE_SENDFILE NGX_IO_SENDFILE -#else -#define NGX_HAVE_SENDFILE 0 -#endif - -#if (HAVE_ZEROCOPY) -#define NGX_HAVE_ZEROCOPY NGX_IO_ZEROCOPY -#else -#define NGX_HAVE_ZEROCOPY 0 -#endif - typedef ssize_t (*ngx_recv_pt)(ngx_connection_t *c, u_char *buf, size_t size); typedef ssize_t (*ngx_recv_chain_pt)(ngx_connection_t *c, ngx_chain_t *in); diff --git a/src/os/win32/ngx_time.h b/src/os/win32/ngx_time.h index 665976d88..4cb984194 100644 --- a/src/os/win32/ngx_time.h +++ b/src/os/win32/ngx_time.h @@ -39,7 +39,7 @@ typedef FILETIME ngx_mtime_t; #define ngx_msleep Sleep -#define HAVE_GETTIMEZONE 1 +#define NGX_HAVE_GETTIMEZONE 1 ngx_int_t ngx_gettimezone(void); void ngx_gettimeofday(struct timeval *tp); diff --git a/src/os/win32/ngx_win32_config.h b/src/os/win32/ngx_win32_config.h index e7d3086e8..c7703c29e 100644 --- a/src/os/win32/ngx_win32_config.h +++ b/src/os/win32/ngx_win32_config.h @@ -115,37 +115,31 @@ typedef uint32_t ngx_atomic_t; #define TIME_T_LEN sizeof("-2147483648") - 1 +#define OFF_T_MAX_VALUE 9223372036854775807 +#define NGX_HAVE_LITTLE_ENDIAN 1 - -#define NGX_WIN_NT 200000 +#define NGX_THREADS 1 -#define NGX_THREADS 1 +#define NGX_WIN_NT 200000 -#ifndef HAVE_INHERITED_NONBLOCK -#define HAVE_INHERITED_NONBLOCK 1 +#ifndef NGX_HAVE_INHERITED_NONBLOCK +#define NGX_HAVE_INHERITED_NONBLOCK 1 #endif -#ifndef HAVE_WIN32_TRANSMITPACKETS -#define HAVE_WIN32_TRANSMITPACKETS 1 -#define HAVE_WIN32_TRANSMITFILE 0 +#ifndef NGX_HAVE_WIN32_TRANSMITPACKETS +#define NGX_HAVE_WIN32_TRANSMITPACKETS 1 +#define NGX_HAVE_WIN32_TRANSMITFILE 0 #endif -#ifndef HAVE_WIN32_TRANSMITFILE -#define HAVE_WIN32_TRANSMITFILE 1 +#ifndef NGX_HAVE_WIN32_TRANSMITFILE +#define NGX_HAVE_WIN32_TRANSMITFILE 1 #endif -#if (HAVE_WIN32_TRANSMITPACKETS) || (HAVE_WIN32_TRANSMITFILE) -#define HAVE_SENDFILE 1 +#if (NGX_HAVE_WIN32_TRANSMITPACKETS) || (NGX_HAVE_WIN32_TRANSMITFILE) +#define NGX_HAVE_SENDFILE 1 #endif -#define OFF_T_MAX_VALUE 9223372036854775807 - - -/* STUB */ -#define HAVE_LITTLE_ENDIAN 1 - - #endif /* _NGX_WIN32_CONFIG_H_INCLUDED_ */ |