aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_aio_write.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_aio_write.c')
-rw-r--r--src/os/unix/ngx_aio_write.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/unix/ngx_aio_write.c b/src/os/unix/ngx_aio_write.c
index 3a4d8e0b4..5eded37b7 100644
--- a/src/os/unix/ngx_aio_write.c
+++ b/src/os/unix/ngx_aio_write.c
@@ -109,6 +109,7 @@ ngx_log_debug(ev->log, "aio: aiocb: %08x" _ &ev->aiocb);
return NGX_ERROR;
}
+ ev->active = 0;
ngx_log_debug(ev->log, "aio_write: %d" _ rc);
return rc;