Mercurial > hg > nginx
diff src/os/unix/ngx_aio_read_chain.c @ 375:744ccb59062d
nginx-0.0.7-2004-07-02-19:54:34 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 02 Jul 2004 15:54:34 +0000 |
parents | 6bdf858bff8c |
children | da8c5707af39 |
line wrap: on
line diff
--- a/src/os/unix/ngx_aio_read_chain.c +++ b/src/os/unix/ngx_aio_read_chain.c @@ -13,7 +13,7 @@ ssize_t ngx_aio_read_chain(ngx_connectio ssize_t total; ngx_err_t err; - if (c->read->aio_eof) { + if (c->read->pending_eof) { c->read->ready = 0; return 0; } @@ -53,7 +53,7 @@ ssize_t ngx_aio_read_chain(ngx_connectio } if (n == 0) { - c->read->aio_eof = 1; + c->read->pending_eof = 1; if (total) { c->read->eof = 0; c->read->ready = 1;