Mercurial > hg > nginx-vendor-current
comparison auto/os/features @ 390:0b6053502c55 NGINX_0_7_7
nginx 0.7.7
*) Change: now the EAGAIN error returned by connect() is not considered
as temporary error.
*) Change: now the $ssl_client_cert variable value is a certificate
with TAB character intended before each line except first one; an
unchanged certificate is available in the $ssl_client_raw_cert
variable.
*) Feature: the "ask" parameter in the "ssl_verify_client" directive.
*) Feature: byte-range processing improvements.
Thanks to Maxim Dounin.
*) Feature: the "directio" directive.
*) Feature: MacOSX 1.5 sendfile() support.
*) Bugfix: now in MacOSX and Cygwin locations are tested in case
insensitive mode; however, the compare is provided by single-byte
locales only.
*) Bugfix: mail proxy SSL connections hanged, if select, poll, or
/dev/poll methods were used.
*) Bugfix: UTF-8 encoding usage in the ngx_http_autoindex_module.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 30 Jul 2008 00:00:00 +0400 |
parents | 6ae1357b7b7c |
children | 34fb3a573548 |
comparison
equal
deleted
inserted
replaced
389:930e48a26dde | 390:0b6053502c55 |
---|---|
120 if (kevent(kq, &kev, 1, &kev, 1, &ts) == -1) return 1; | 120 if (kevent(kq, &kev, 1, &kev, 1, &ts) == -1) return 1; |
121 | 121 |
122 if (kev.flags & EV_ERROR) return 1;" | 122 if (kev.flags & EV_ERROR) return 1;" |
123 | 123 |
124 . auto/feature | 124 . auto/feature |
125 | |
126 | |
127 if [ "$NGX_SYSTEM" = "Darwin" ]; then | |
128 | |
129 ngx_feature="Darwin 64-bit kqueue millisecond timeout bug" | |
130 ngx_feature_name=NGX_DARWIN_KEVENT_BUG | |
131 ngx_feature_run=bug | |
132 ngx_feature_incs="#include <sys/event.h> | |
133 #include <sys/time.h>" | |
134 ngx_feature_path= | |
135 ngx_feature_libs= | |
136 ngx_feature_test="int kq; | |
137 struct kevent kev; | |
138 struct timespec ts; | |
139 struct timeval tv, tv0; | |
140 | |
141 kq = kqueue(); | |
142 | |
143 ts.tv_sec = 0; | |
144 ts.tv_nsec = 999000000; | |
145 | |
146 gettimeofday(&tv, 0); | |
147 kevent(kq, NULL, 0, &kev, 1, &ts); | |
148 gettimeofday(&tv0, 0); | |
149 timersub(&tv0, &tv, &tv); | |
150 | |
151 if (tv.tv_sec * 1000000 + tv.tv_usec < 900000) return 1;" | |
152 | |
153 . auto/feature | |
154 fi | |
155 fi | 125 fi |
156 fi | 126 fi |
157 | 127 |
158 | 128 |
159 if [ "$NGX_SYSTEM" = "NetBSD" ]; then | 129 if [ "$NGX_SYSTEM" = "NetBSD" ]; then |
198 | 168 |
199 if [ $ngx_found = yes ]; then | 169 if [ $ngx_found = yes ]; then |
200 CRYPT_LIB="-lcrypt" | 170 CRYPT_LIB="-lcrypt" |
201 fi | 171 fi |
202 fi | 172 fi |
173 | |
174 | |
175 ngx_feature="O_DIRECT" | |
176 ngx_feature_name="NGX_HAVE_O_DIRECT" | |
177 ngx_feature_run=no | |
178 ngx_feature_incs="#include <fcntl.h>" | |
179 ngx_feature_path= | |
180 ngx_feature_libs= | |
181 ngx_feature_test="fcntl(0, F_SETFL, O_DIRECT);" | |
182 . auto/feature | |
183 | |
184 | |
185 ngx_feature="F_NOCACHE" | |
186 ngx_feature_name="NGX_HAVE_F_NOCACHE" | |
187 ngx_feature_run=no | |
188 ngx_feature_incs="#include <fcntl.h>" | |
189 ngx_feature_path= | |
190 ngx_feature_libs= | |
191 ngx_feature_test="fcntl(0, F_NOCACHE, 1);" | |
192 . auto/feature |