apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grega...@apache.org
Subject svn commit: r1437109 - /apr/apr/trunk/poll/unix/z_asio.c
Date Tue, 22 Jan 2013 19:20:45 GMT
Author: gregames
Date: Tue Jan 22 19:20:45 2013
New Revision: 1437109

URL: http://svn.apache.org/viewvc?rev=1437109&view=rev
Log:
initialize flags fields to avoid JRAsyncAuthErr

Modified:
    apr/apr/trunk/poll/unix/z_asio.c

Modified: apr/apr/trunk/poll/unix/z_asio.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/poll/unix/z_asio.c?rev=1437109&r1=1437108&r2=1437109&view=diff
==============================================================================
--- apr/apr/trunk/poll/unix/z_asio.c (original)
+++ apr/apr/trunk/poll/unix/z_asio.c Tue Jan 22 19:20:45 2013
@@ -505,7 +505,10 @@ static apr_status_t asio_pollset_remove(
         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



Mime
View raw message