comparison src/core/ngx_config.h @ 10:46833bd150cb NGINX_0_1_5

nginx 0.1.5 *) 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 <http://sysoev.ru>
date Thu, 11 Nov 2004 00:00:00 +0300
parents 4b2dafa26fe2
children 74b1868dd3cd
comparison
equal deleted inserted replaced
9:77eee314ddbd 10:46833bd150cb
37 #include <ngx_posix_config.h> 37 #include <ngx_posix_config.h>
38 38
39 #endif 39 #endif
40 40
41 41
42 #if !(WIN32) 42 #if !(NGX_WIN32)
43 43
44 #define ngx_signal_helper(n) SIG##n 44 #define ngx_signal_helper(n) SIG##n
45 #define ngx_signal_value(n) ngx_signal_helper(n) 45 #define ngx_signal_value(n) ngx_signal_helper(n)
46 46
47 /* TODO: #ifndef */ 47 /* TODO: #ifndef */
70 /* STUB: autoconf */ 70 /* STUB: autoconf */
71 typedef int ngx_int_t; 71 typedef int ngx_int_t;
72 typedef u_int ngx_uint_t; 72 typedef u_int ngx_uint_t;
73 typedef int ngx_flag_t; 73 typedef int ngx_flag_t;
74 #define NGX_INT_T_LEN sizeof("-2147483648") - 1 74 #define NGX_INT_T_LEN sizeof("-2147483648") - 1
75 #define NGX_INT_T_FMT "d"
76 #define NGX_UINT_T_FMT "u"
77 75
78 #else 76 #else
79 77
80 typedef long ngx_int_t; 78 typedef long ngx_int_t;
81 typedef u_long ngx_uint_t; 79 typedef u_long ngx_uint_t;
82 typedef long ngx_flag_t; 80 typedef long ngx_flag_t;
83 #define NGX_INT_T_LEN sizeof("-9223372036854775808") - 1 81 #define NGX_INT_T_LEN sizeof("-9223372036854775808") - 1
84 #define NGX_INT_T_FMT "lld"
85 #define NGX_UINT_T_FMT "llu"
86 82
87 #endif 83 #endif
88 84
89 /* TODO: auto */ 85 /* TODO: auto */
90 #define NGX_INT32_LEN sizeof("-2147483648") - 1 86 #define NGX_INT32_LEN sizeof("-2147483648") - 1
129 #define NGX_MAXHOSTNAMELEN 64 125 #define NGX_MAXHOSTNAMELEN 64
130 /* 126 /*
131 #define NGX_MAXHOSTNAMELEN MAXHOSTNAMELEN 127 #define NGX_MAXHOSTNAMELEN MAXHOSTNAMELEN
132 */ 128 */
133 129
130 #if ((__GNU__ == 2) && (__GNUC_MINOR__ < 8))
131 #define NGX_MAX_UINT32_VALUE 0xffffffffLL
132 #else
133 #define NGX_MAX_UINT32_VALUE 0xffffffff
134 #endif
135
136
134 137
135 #endif /* _NGX_CONFIG_H_INCLUDED_ */ 138 #endif /* _NGX_CONFIG_H_INCLUDED_ */