comparison src/http/ngx_http_core_module.c @ 105:00bee6e7b485

nginx-0.0.1-2003-06-15-22:32:13 import
author Igor Sysoev <igor@sysoev.ru>
date Sun, 15 Jun 2003 18:32:13 +0000
parents 6dfda4cf5200
children a9bc21d63fe4
comparison
equal deleted inserted replaced
104:7db96f59bc29 105:00bee6e7b485
356 356
357 } else { 357 } else {
358 return NGX_HTTP_INTERNAL_SERVER_ERROR; 358 return NGX_HTTP_INTERNAL_SERVER_ERROR;
359 } 359 }
360 } 360 }
361
362 ngx_log_debug(r->connection->log, "FILE: %d" _ r->file.fd);
361 363
362 if (!r->file.info_valid) { 364 if (!r->file.info_valid) {
363 if (ngx_stat_fd(r->file.fd, &r->file.info) == NGX_FILE_ERROR) { 365 if (ngx_stat_fd(r->file.fd, &r->file.info) == NGX_FILE_ERROR) {
364 ngx_log_error(NGX_LOG_CRIT, r->connection->log, ngx_errno, 366 ngx_log_error(NGX_LOG_CRIT, r->connection->log, ngx_errno,
365 ngx_stat_fd_n " \"%s\" failed", r->file.name.data); 367 ngx_stat_fd_n " \"%s\" failed", r->file.name.data);