Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8795: async_connect oncorrectly reports success on failure
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-15 20:38:16
#8795: async_connect oncorrectly reports success on failure
-------------------------------+----------------------------
Reporter: benpope81@⦠| Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
Version: Boost 1.54.0 | Severity: Regression
Resolution: | Keywords:
-------------------------------+----------------------------
Comment (by anonymous):
For my own use, I found that simply inserting:
if (ec) return true;
at line 524 of boost/asio/detail/impl/socket_ops.ipp (i.e. in
non_blocking_connect() after the check for error::already_started and
before calling getsockopt()) has proven to be a reasonable workaround.
Again, as I do not understand the intent of the changes from 1.53.0, I am
not sure that this is the correct bugfix, so YMMV.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8795#comment:7> 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:13 UTC