Mercurial > hg > nginx-mail
comparison src/os/unix/ngx_files.h @ 583:c04fa65fe604 NGINX_0_8_22
nginx 0.8.22
*) Feature: the "proxy_bind", "fastcgi_bind", and "memcached_bind"
directives.
*) Feature: the "access" and the "deny" directives support IPv6.
*) Feature: the "set_real_ip_from" directive supports IPv6 addresses in
request headers.
*) Feature: the "unix:" parameter of the "set_real_ip_from" directive.
*) Bugfix: nginx did not delete unix domain socket after configuration
testing.
*) Bugfix: nginx deleted unix domain socket while online upgrade.
*) Bugfix: the "!-x" operator did not work.
Thanks to Maxim Dounin.
*) Bugfix: a segmentation fault might occur in a worker process, if
limit_rate was used in HTTPS server.
Thanks to Maxim Dounin.
*) Bugfix: a segmentation fault might occur in a worker process while
$limit_rate logging.
Thanks to Maxim Dounin.
*) Bugfix: a segmentation fault might occur in a worker process, if
there was no "listen" directive in "server" block; the bug had
appeared in 0.8.21.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 03 Nov 2009 00:00:00 +0300 |
parents | 0dc162a5f3e8 |
children | 2b9e388c61f1 |
comparison
equal
deleted
inserted
replaced
582:c88014f74832 | 583:c04fa65fe604 |
---|---|
139 #define ngx_fd_info_n "fstat()" | 139 #define ngx_fd_info_n "fstat()" |
140 | 140 |
141 #define ngx_is_dir(sb) (S_ISDIR((sb)->st_mode)) | 141 #define ngx_is_dir(sb) (S_ISDIR((sb)->st_mode)) |
142 #define ngx_is_file(sb) (S_ISREG((sb)->st_mode)) | 142 #define ngx_is_file(sb) (S_ISREG((sb)->st_mode)) |
143 #define ngx_is_link(sb) (S_ISLNK((sb)->st_mode)) | 143 #define ngx_is_link(sb) (S_ISLNK((sb)->st_mode)) |
144 #define ngx_is_exec(sb) ((sb)->st_mode & S_IXUSR) | 144 #define ngx_is_exec(sb) (((sb)->st_mode & S_IXUSR) == S_IXUSR) |
145 #define ngx_file_access(sb) ((sb)->st_mode & 0777) | 145 #define ngx_file_access(sb) ((sb)->st_mode & 0777) |
146 #define ngx_file_size(sb) (sb)->st_size | 146 #define ngx_file_size(sb) (sb)->st_size |
147 #define ngx_file_mtime(sb) (sb)->st_mtime | 147 #define ngx_file_mtime(sb) (sb)->st_mtime |
148 #define ngx_file_uniq(sb) (sb)->st_ino | 148 #define ngx_file_uniq(sb) (sb)->st_ino |
149 | 149 |