Mercurial > hg > nginx
comparison src/core/ngx_config.h @ 581:326634fb9d47 release-0.3.12
nginx-0.3.12-RELEASE import
*) Security: if nginx was built with the ngx_http_realip_module and the
"satisfy_any on" directive was used, then access and authorization
directives did not work. The ngx_http_realip_module was not built
and is not built by default.
*) Change: the "$time_gmt" variable name was changed to "$time_local".
*) Change: the "proxy_header_buffer_size" and
"fastcgi_header_buffer_size" directives was renamed to the
"proxy_buffer_size" and "fastcgi_buffer_size" directives.
*) Feature: the ngx_http_memcached_module.
*) Feature: the "proxy_buffering" directive.
*) Bugfix: the changes in accept mutex handling when the "rtsig" method
was used; the bug had appeared in 0.3.0.
*) Bugfix: if the client sent the "Transfer-Encoding: chunked" header
line, then nginx returns the 411 error.
*) Bugfix: if the "auth_basic" directive was inherited from the http
level, then the realm in the "WWW-Authenticate" header line was
without the "Basic realm" text.
*) Bugfix: if the "combined" format was explicitly specified in the
"access_log" directive, then the empty lines was written to the log;
the bug had appeared in 0.3.8.
*) Bugfix: nginx did not run on the sparc platform under any OS except
Solaris.
*) Bugfix: now it is not necessary to place space between the quoted
string and closing bracket in the "if" directive.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sat, 26 Nov 2005 10:11:11 +0000 |
parents | 9c2f3ed7a247 |
children | d4e858a5751a |
comparison
equal
deleted
inserted
replaced
580:8393757dc220 | 581:326634fb9d47 |
---|---|
74 #define NGX_INVALID_ARRAY_INDEX 0x80000000 | 74 #define NGX_INVALID_ARRAY_INDEX 0x80000000 |
75 | 75 |
76 | 76 |
77 #if 1 | 77 #if 1 |
78 /* STUB: autoconf */ | 78 /* STUB: autoconf */ |
79 typedef int ngx_int_t; | 79 typedef int ngx_int_t; |
80 typedef u_int ngx_uint_t; | 80 typedef u_int ngx_uint_t; |
81 typedef int ngx_flag_t; | 81 typedef int ngx_flag_t; |
82 #define NGX_INT_T_LEN sizeof("-2147483648") - 1 | 82 #define NGX_INT_T_LEN sizeof("-2147483648") - 1 |
83 | 83 |
84 #else | 84 #else |
85 | 85 |
86 typedef long ngx_int_t; | 86 typedef long ngx_int_t; |
87 typedef u_long ngx_uint_t; | 87 typedef u_long ngx_uint_t; |
88 typedef long ngx_flag_t; | 88 typedef long ngx_flag_t; |
89 #define NGX_INT_T_LEN sizeof("-9223372036854775808") - 1 | 89 #define NGX_INT_T_LEN sizeof("-9223372036854775808") - 1 |
90 | 90 |
91 #endif | 91 #endif |
92 | 92 |
93 #define NGX_INT32_LEN sizeof("-2147483648") - 1 | 93 #define NGX_INT32_LEN sizeof("-2147483648") - 1 |
94 #define NGX_INT64_LEN sizeof("-9223372036854775808") - 1 | 94 #define NGX_INT64_LEN sizeof("-9223372036854775808") - 1 |
95 | 95 |
96 | 96 |
97 #if (NGX_SOLARIS) | 97 #ifndef NGX_ALIGNMENT |
98 #define NGX_ALIGN (_MAX_ALIGNMENT - 1) | 98 #define NGX_ALIGNMENT sizeof(unsigned long) /* platform word */ |
99 #else | |
100 /* TODO: auto_conf */ | |
101 #define NGX_ALIGN (sizeof(unsigned long) - 1) /* platform word */ | |
102 #endif | 99 #endif |
103 | 100 |
104 #define ngx_align(p) (u_char *) (((uintptr_t) p + NGX_ALIGN) & ~NGX_ALIGN) | 101 #define ngx_align(p) (u_char *) (((uintptr_t) p + (NGX_ALIGNMENT - 1)) \ |
102 & ~(NGX_ALIGNMENT - 1)) | |
105 | 103 |
106 | 104 |
107 #define ngx_abort abort | 105 #define ngx_abort abort |
108 | 106 |
109 | 107 |
110 /* TODO: auto_conf: ngx_inline inline __inline __inline__ */ | 108 /* TODO: auto_conf: ngx_inline inline __inline __inline__ */ |
111 #ifndef ngx_inline | 109 #ifndef ngx_inline |
112 #define ngx_inline inline | 110 #define ngx_inline inline |
113 #endif | 111 #endif |
114 | 112 |
115 #define NGX_ACCEPT_THRESHOLD 100 | 113 #define NGX_ACCEPT_THRESHOLD 100 |
116 | 114 |
117 #ifndef INADDR_NONE /* Solaris */ | 115 #ifndef INADDR_NONE /* Solaris */ |