comparison src/http/modules/ngx_http_autoindex_module.c @ 426:e7dbea1ee115 NGINX_0_7_25

nginx 0.7.25 *) Change: in subrequest processing. *) Change: now POSTs without "Content-Length" header line are allowed. *) Bugfix: now the "limit_req" and "limit_conn" directives log a prohibition reason. *) Bugfix: in the "delete" parameter of the "geo" directive.
author Igor Sysoev <http://sysoev.ru>
date Mon, 08 Dec 2008 00:00:00 +0300
parents 0b6053502c55
children 549994537f15
comparison
equal deleted inserted replaced
425:f64d9e30046c 426:e7dbea1ee115
297 err = ngx_errno; 297 err = ngx_errno;
298 298
299 if (err != NGX_ENOENT) { 299 if (err != NGX_ENOENT) {
300 ngx_log_error(NGX_LOG_CRIT, r->connection->log, err, 300 ngx_log_error(NGX_LOG_CRIT, r->connection->log, err,
301 ngx_de_info_n " \"%s\" failed", filename); 301 ngx_de_info_n " \"%s\" failed", filename);
302
303 if (err == NGX_EACCES) {
304 continue;
305 }
306
302 return ngx_http_autoindex_error(r, &dir, &path); 307 return ngx_http_autoindex_error(r, &dir, &path);
303 } 308 }
304 309
305 if (ngx_de_link_info(filename, &dir) == NGX_FILE_ERROR) { 310 if (ngx_de_link_info(filename, &dir) == NGX_FILE_ERROR) {
306 ngx_log_error(NGX_LOG_CRIT, r->connection->log, ngx_errno, 311 ngx_log_error(NGX_LOG_CRIT, r->connection->log, ngx_errno,