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-02 09:42:23
#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 Ramon Casellas <ramon.casellas@â¦>):
Confirmed also in boost trunk as of 20130801 (1.55) linux ubuntu saucy 64
bits. A regression that is causing services that are supposed to reconnect
on failure to proceed.
Quite easy to reproduce using the async_client in the examples without any
listening http server. Add a debug trace (should get connection refused):
{{{
root_at_pookie:/tmp# g++ -c -o client.o client.cpp
root_at_pookie:/tmp# g++ -o client client.o -lboost_system -lboost_thread
-lpthread
root_at_pookie:/tmp# ./client localhost /index.html
handle_connect Error: system:0
Error: Broken pipe
}}}
Thanks
R.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8795#comment:5> 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