comparison src/http/modules/ngx_http_gzip_static_module.c @ 2756:09cab3f8d92e

*) of.test_only to not open file if only stat() is enough *) of.failed to return exact name of failed syscall
author Igor Sysoev <igor@sysoev.ru>
date Mon, 27 Apr 2009 09:55:53 +0000
parents 8e720b7fe6d2
children 3cd2790f4a9b
comparison
equal deleted inserted replaced
2755:a65976a205a5 2756:09cab3f8d92e
150 level = NGX_LOG_CRIT; 150 level = NGX_LOG_CRIT;
151 break; 151 break;
152 } 152 }
153 153
154 ngx_log_error(level, log, of.err, 154 ngx_log_error(level, log, of.err,
155 ngx_open_file_n " \"%s\" failed", path.data); 155 "%s \"%s\" failed", of.failed, path.data);
156 156
157 return NGX_DECLINED; 157 return NGX_DECLINED;
158 } 158 }
159 159
160 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, log, 0, "http static fd: %d", of.fd); 160 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, log, 0, "http static fd: %d", of.fd);