summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-02-01 14:31:26 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-02-01 14:31:26 +0000
commit987f1e5fcc2949cff76608910514b0ed82400f8f (patch)
tree40cc339f306e1683b667bce11f241761a7e3c929 /src/http/modules
parentd23a26796472ebcf3d161cd7b81fee18df3c1a0b (diff)
downloadnginx-987f1e5fcc2949cff76608910514b0ed82400f8f.tar.gz
nginx-987f1e5fcc2949cff76608910514b0ed82400f8f.tar.bz2
merge r3148, r3152, r3161:
error processing fixes: *) fail if file size was changed *) low default connection errors level from alert to error *) low ENAMETOOLONG logging level
Diffstat (limited to 'src/http/modules')
-rw-r--r--src/http/modules/ngx_http_index_module.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_index_module.c b/src/http/modules/ngx_http_index_module.c
index d94fc118c..b58aa97c2 100644
--- a/src/http/modules/ngx_http_index_module.c
+++ b/src/http/modules/ngx_http_index_module.c
@@ -222,7 +222,10 @@ ngx_http_index_handler(ngx_http_request_t *r)
return NGX_HTTP_INTERNAL_SERVER_ERROR;
}
- if (of.err == NGX_ENOTDIR || of.err == NGX_EACCES) {
+ if (of.err == NGX_ENOTDIR
+ || of.err == NGX_ENAMETOOLONG
+ || of.err == NGX_EACCES)
+ {
return ngx_http_index_error(r, clcf, path.data, of.err);
}