diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2010-02-01 14:31:26 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2010-02-01 14:31:26 +0000 |
| commit | 987f1e5fcc2949cff76608910514b0ed82400f8f (patch) | |
| tree | 40cc339f306e1683b667bce11f241761a7e3c929 /src/http/ngx_http_script.c | |
| parent | d23a26796472ebcf3d161cd7b81fee18df3c1a0b (diff) | |
| download | nginx-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/ngx_http_script.c')
| -rw-r--r-- | src/http/ngx_http_script.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/http/ngx_http_script.c b/src/http/ngx_http_script.c index ad9d88b40..a92b1995a 100644 --- a/src/http/ngx_http_script.c +++ b/src/http/ngx_http_script.c @@ -1417,7 +1417,10 @@ ngx_http_script_file_code(ngx_http_script_engine_t *e) if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) != NGX_OK) { - if (of.err != NGX_ENOENT && of.err != NGX_ENOTDIR) { + if (of.err != NGX_ENOENT + && of.err != NGX_ENOTDIR + && of.err != NGX_ENAMETOOLONG) + { ngx_log_error(NGX_LOG_CRIT, r->connection->log, of.err, "%s \"%s\" failed", of.failed, value->data); } |
