comparison src/os/unix/ngx_file_aio_read.c @ 638:f5a8cf31a203 NGINX_1_1_3

nginx 1.1.3 *) Feature: the module ngx_http_mp4_module. *) Bugfix: in Linux AIO combined with open_file_cache. *) Bugfix: open_file_cache did not update file info on retest if file was not atomically changed. *) Bugfix: nginx could not be built on MacOSX 10.7.
author Igor Sysoev <http://sysoev.ru>
date Wed, 14 Sep 2011 00:00:00 +0400
parents 2b9e388c61f1
children eb208e0cf44d
comparison
equal deleted inserted replaced
637:83b74d7020ba 638:f5a8cf31a203
83 ngx_set_errno(aio->err); 83 ngx_set_errno(aio->err);
84 84
85 if (aio->err == 0) { 85 if (aio->err == 0) {
86 return aio->nbytes; 86 return aio->nbytes;
87 } 87 }
88
89 ngx_log_error(NGX_LOG_CRIT, file->log, ngx_errno,
90 "aio read \"%s\" failed", file->name.data);
88 91
89 return NGX_ERROR; 92 return NGX_ERROR;
90 } 93 }
91 94
92 ngx_memzero(&aio->aiocb, sizeof(struct aiocb)); 95 ngx_memzero(&aio->aiocb, sizeof(struct aiocb));