Mercurial > hg > nginx-vendor-0-8
comparison src/os/unix/ngx_files.h @ 392:34fb3a573548 NGINX_0_7_8
nginx 0.7.8
*) Feature: the ngx_http_xslt_module.
*) Feature: the "$arg_..." variables.
*) Feature: Solaris directio support.
Thanks to Ivan Debnar.
*) Bugfix: now if FastCGI server sends a "Location" header line without
status line, then nginx uses 302 status code.
Thanks to Maxim Dounin.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 04 Aug 2008 00:00:00 +0400 |
parents | 0b6053502c55 |
children | 9d81578d04bb |
comparison
equal
deleted
inserted
replaced
391:4ec606a899d3 | 392:34fb3a573548 |
---|---|
197 #elif (NGX_HAVE_F_NOCACHE) | 197 #elif (NGX_HAVE_F_NOCACHE) |
198 | 198 |
199 #define ngx_directio(fd) fcntl(fd, F_NOCACHE, 1) | 199 #define ngx_directio(fd) fcntl(fd, F_NOCACHE, 1) |
200 #define ngx_directio_n "fcntl(F_NOCACHE)" | 200 #define ngx_directio_n "fcntl(F_NOCACHE)" |
201 | 201 |
202 #elif (NGX_HAVE_DIRECTIO) | |
203 | |
204 #define ngx_directio(fd) directio(fd, DIRECTIO_ON) | |
205 #define ngx_directio_n "directio(DIRECTIO_ON)" | |
206 | |
202 #else | 207 #else |
203 | 208 |
204 #define ngx_directio(fd) 0 | 209 #define ngx_directio(fd) 0 |
205 #define ngx_directio_n "ngx_directio_n" | 210 #define ngx_directio_n "ngx_directio_n" |
206 | 211 |