comparison src/os/unix/ngx_files.c @ 536:0dc162a5f3e8 NGINX_0_8_20

nginx 0.8.20 *) Change: now default SSL ciphers are "HIGH:!ADH:!MD5". *) Bugfix: the ngx_http_autoindex_module did not show the trailing slash in links to a directory; the bug had appeared in 0.7.15. *) Bugfix: nginx did not close a log file set by the --error-log-path configuration option; the bug had appeared in 0.7.53. *) Bugfix: nginx did not treat a comma as separator in the "Cache-Control" backend response header line. *) Bugfix: nginx/Windows might not create temporary file, a cache file, or "proxy/fastcgi_store"d file if a worker has no enough access rights for top level directories. *) Bugfix: the "Set-Cookie" and "P3P" FastCGI response header lines were not hidden while caching if no "fastcgi_hide_header" directives were used with any parameters. *) Bugfix: nginx counted incorrectly disk cache size.
author Igor Sysoev <http://sysoev.ru>
date Wed, 14 Oct 2009 00:00:00 +0400
parents 4c5d2c627a6c
children 2b9e388c61f1
comparison
equal deleted inserted replaced
535:4584144e5de2 536:0dc162a5f3e8
272 dir->de = readdir(dir->dir); 272 dir->de = readdir(dir->dir);
273 273
274 if (dir->de) { 274 if (dir->de) {
275 #if (NGX_HAVE_D_TYPE) 275 #if (NGX_HAVE_D_TYPE)
276 dir->type = dir->de->d_type; 276 dir->type = dir->de->d_type;
277 dir->valid_type = dir->type ? 1 : 0;
278 #else 277 #else
279 dir->valid_type = 0; 278 dir->type = 0;
280 #endif 279 #endif
281 return NGX_OK; 280 return NGX_OK;
282 } 281 }
283 282
284 return NGX_ERROR; 283 return NGX_ERROR;