comparison src/os/win32/ngx_os.h @ 461:a88a3e4e158f release-0.1.5

nginx-0.1.5-RELEASE import *) Bugfix: on Solaris and Linux there may be too many "recvmsg() returned not enough data" alerts. *) Bugfix: there were the "writev() failed (22: Invalid argument)" errors on Solaris in proxy mode without sendfile. On other platforms that do not support sendfile at all the process got caught in an endless loop. *) Bugfix: segmentation fault on Solaris in proxy mode and using sendfile. *) Bugfix: segmentation fault on Solaris. *) Bugfix: on-line upgrade did not work on Linux. *) Bugfix: the ngx_http_autoindex_module module did not escape the spaces, the quotes, and the percent signs in the directory listing. *) Change: the decrease of the copy operations. *) Feature: the userid_p3p directive.
author Igor Sysoev <igor@sysoev.ru>
date Thu, 11 Nov 2004 14:07:14 +0000
parents 3b1e8c9df9ad
children 2ff194b74f1e
comparison
equal deleted inserted replaced
460:5f8319142dfc 461:a88a3e4e158f
8 #define _NGX_OS_H_INCLUDED_ 8 #define _NGX_OS_H_INCLUDED_
9 9
10 10
11 #include <ngx_config.h> 11 #include <ngx_config.h>
12 #include <ngx_core.h> 12 #include <ngx_core.h>
13 #include <ngx_gui.h>
13 14
14 #define NGX_IO_SENDFILE 1 15 #define NGX_IO_SENDFILE 1
15 #define NGX_IO_ZEROCOPY 2 16 #define NGX_IO_ZEROCOPY 2
16 17
17 #if (HAVE_SENDFILE) 18 #if (HAVE_SENDFILE)
54 off_t limit); 55 off_t limit);
55 56
56 57
57 extern ngx_os_io_t ngx_os_io; 58 extern ngx_os_io_t ngx_os_io;
58 extern ngx_uint_t ngx_ncpu; 59 extern ngx_uint_t ngx_ncpu;
60 extern ngx_uint_t ngx_max_wsabufs;
59 extern ngx_int_t ngx_max_sockets; 61 extern ngx_int_t ngx_max_sockets;
60 extern ngx_uint_t ngx_inherited_nonblocking; 62 extern ngx_uint_t ngx_inherited_nonblocking;
61 extern ngx_uint_t ngx_win32_version; 63 extern ngx_uint_t ngx_win32_version;
62 extern ngx_fd_t ngx_stderr_fileno; 64 extern ngx_fd_t ngx_stderr_fileno;
63 65