Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2870: async_connect Handler invocation from deleted socket
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-04-09 13:13:49
#2870: async_connect Handler invocation from deleted socket
---------------------------------------------------------+------------------
Reporter: Benjamin Carlyle <ben.carlyle_at_[hidden]> | Owner: chris_kohlhoff
Type: Bugs | Status: closed
Milestone: Boost 1.39.0 | Component: asio
Version: Boost 1.38.0 | Severity: Problem
Resolution: wontfix | Keywords:
---------------------------------------------------------+------------------
Changes (by chris_kohlhoff):
* status: new => closed
* resolution: => wontfix
Comment:
That is the intended behaviour. Your completion handler is always called
(note: unless completely abandoned by destroying the io_service before it
gets a chance to execute). Once an operation completes the completion
handler is queued for execution and so is decoupled from the socket that
generated it. See this page for more information:
http://www.boost.org/doc/libs/1_38_0/doc/html/boost_asio/overview/core/async.html
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2870#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC