From 7f6d71bbc848360f4f6b1ec276736b88fb15b3f0 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 25 Sep 2009 09:13:08 +0000 Subject: low ENAMETOOLONG logging level --- src/http/modules/ngx_http_index_module.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/http/modules/ngx_http_index_module.c') 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); } -- cgit