Mercurial > hg > nginx-quic
comparison src/http/modules/perl/nginx.xs @ 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 | 8564129d49b6 |
children | 92bd6afe8d9c |
comparison
equal
deleted
inserted
replaced
2755:a65976a205a5 | 2756:09cab3f8d92e |
---|---|
660 if (of.err == 0) { | 660 if (of.err == 0) { |
661 XSRETURN_EMPTY; | 661 XSRETURN_EMPTY; |
662 } | 662 } |
663 | 663 |
664 ngx_log_error(NGX_LOG_CRIT, r->connection->log, ngx_errno, | 664 ngx_log_error(NGX_LOG_CRIT, r->connection->log, ngx_errno, |
665 ngx_open_file_n " \"%s\" failed", filename); | 665 "%s \"%s\" failed", of.failed, filename); |
666 XSRETURN_EMPTY; | 666 XSRETURN_EMPTY; |
667 } | 667 } |
668 | 668 |
669 if (offset == -1) { | 669 if (offset == -1) { |
670 offset = 0; | 670 offset = 0; |