Subject: [Boost-bugs] [Boost C++ Libraries] #4683: Infinite loop in async_connect to 0.0.0.0:0 (boost::asio)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-09-24 09:58:03
#4683: Infinite loop in async_connect to 0.0.0.0:0 (boost::asio)
----------------------------------------------------+-----------------------
Reporter: Yury Podpruzhnikov <QWERTYura@â¦> | Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
Version: Boost 1.44.0 | Severity: Problem
Keywords: |
----------------------------------------------------+-----------------------
Compiler: MSVS[[BR]]
Platform: MS Windows XP[[BR]]
BOOST_ASIO_HAS_IOCP is enabled[[BR]]
[[BR]]
async_connect to 0.0.0.0:0 led to infinite loop in boost::asio.[[BR]]
Infinite loop is occured in select_reactor::run_thread(). It call select()
(through select_reactor::run) and expect block execution by this function.
But select immediately return 10038(WSAENOTSOCK). It lead to infinit use
processor.[[BR]]
[[BR]]
Of course connect to 0.0.0.0:0 is error, but asio must never go to
infinite loop.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4683> 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:04 UTC