diff options
author | gregames <gregames@13f79535-47bb-0310-9956-ffa450edef68> | 2013-01-22 19:20:45 +0000 |
---|---|---|
committer | gregames <gregames@13f79535-47bb-0310-9956-ffa450edef68> | 2013-01-22 19:20:45 +0000 |
commit | b71f646a8cee4469eec8e64122f32dc1bf414905 (patch) | |
tree | 162ffbe93ee44a2ebafdaa900f1bc4eef5ec9127 | |
parent | 9f419dfa6fb591926c12cbff69be8fdaa0112950 (diff) | |
download | libapr-b71f646a8cee4469eec8e64122f32dc1bf414905.tar.gz |
initialize flags fields to avoid JRAsyncAuthErr
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1437109 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | poll/unix/z_asio.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/poll/unix/z_asio.c b/poll/unix/z_asio.c index cdce230e5..3f4bec579 100644 --- a/poll/unix/z_asio.c +++ b/poll/unix/z_asio.c @@ -505,7 +505,10 @@ static apr_status_t asio_pollset_remove(apr_pollset_t *pollset, if (elem->state == ASIO_INIT) { /* asyncio call to cancel */ cancel_a.aio_cmd = AIO_CANCEL; - cancel_a.aio_buf = &elem->a; + cancel_a.aio_buf = &elem->a; /* point to original aiocb */ + + cancel_a.aio_cflags = 0; + cancel_a.aio_cflags2 = 0; /* we want the original aiocb to show up on the pollset message queue * to eliminate race conditions |