aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_aio_read_chain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_aio_read_chain.c')
-rw-r--r--src/os/unix/ngx_aio_read_chain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/unix/ngx_aio_read_chain.c b/src/os/unix/ngx_aio_read_chain.c
index e850d3462..a2a12d23e 100644
--- 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_connection_t *c, ngx_chain_t *cl)
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_connection_t *c, ngx_chain_t *cl)
}
if (n == 0) {
- c->read->aio_eof = 1;
+ c->read->pending_eof = 1;
if (total) {
c->read->eof = 0;
c->read->ready = 1;