Mercurial > hg > nginx
comparison src/http/modules/ngx_http_index_module.c @ 3160:a7637c2c1157
low ENAMETOOLONG logging level
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 25 Sep 2009 09:13:08 +0000 |
parents | c7d57b539248 |
children | 975f0558aab3 8152369f7037 |
comparison
equal
deleted
inserted
replaced
3159:d4cc5a450ee9 | 3160:a7637c2c1157 |
---|---|
220 | 220 |
221 if (of.err == 0) { | 221 if (of.err == 0) { |
222 return NGX_HTTP_INTERNAL_SERVER_ERROR; | 222 return NGX_HTTP_INTERNAL_SERVER_ERROR; |
223 } | 223 } |
224 | 224 |
225 if (of.err == NGX_ENOTDIR || of.err == NGX_EACCES) { | 225 if (of.err == NGX_ENOTDIR |
226 || of.err == NGX_ENAMETOOLONG | |
227 || of.err == NGX_EACCES) | |
228 { | |
226 return ngx_http_index_error(r, clcf, path.data, of.err); | 229 return ngx_http_index_error(r, clcf, path.data, of.err); |
227 } | 230 } |
228 | 231 |
229 if (!dir_tested) { | 232 if (!dir_tested) { |
230 rc = ngx_http_index_test_dir(r, clcf, path.data, name - 1); | 233 rc = ngx_http_index_test_dir(r, clcf, path.data, name - 1); |