Mercurial > hg > nginx
comparison src/http/modules/ngx_http_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 | 975f0558aab3 8944c3e318ab |
comparison
equal
deleted
inserted
replaced
2755:a65976a205a5 | 2756:09cab3f8d92e |
---|---|
126 break; | 126 break; |
127 } | 127 } |
128 | 128 |
129 if (rc != NGX_HTTP_NOT_FOUND || clcf->log_not_found) { | 129 if (rc != NGX_HTTP_NOT_FOUND || clcf->log_not_found) { |
130 ngx_log_error(level, log, of.err, | 130 ngx_log_error(level, log, of.err, |
131 ngx_open_file_n " \"%s\" failed", path.data); | 131 "%s \"%s\" failed", of.failed, path.data); |
132 } | 132 } |
133 | 133 |
134 return rc; | 134 return rc; |
135 } | 135 } |
136 | 136 |