Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60781 - trunk/boost/asio/detail
From: chris_at_[hidden]
Date: 2010-03-22 21:39:13


Author: chris_kohlhoff
Date: 2010-03-22 21:39:12 EDT (Mon, 22 Mar 2010)
New Revision: 60781
URL: http://svn.boost.org/trac/boost/changeset/60781

Log:
Async connect operations using the reactor should not allow speculative
completion.

Text files modified:
   trunk/boost/asio/detail/reactive_socket_service.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/asio/detail/reactive_socket_service.hpp
==============================================================================
--- trunk/boost/asio/detail/reactive_socket_service.hpp (original)
+++ trunk/boost/asio/detail/reactive_socket_service.hpp 2010-03-22 21:39:12 EDT (Mon, 22 Mar 2010)
@@ -1714,7 +1714,7 @@
           {
             op->ec_ = boost::system::error_code();
             reactor_.start_op(reactor::connect_op,
- impl.socket_, impl.reactor_data_, op, true);
+ impl.socket_, impl.reactor_data_, op, false);
             return;
           }
         }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk