Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7392: boost::asio::ip::tcp::socket::is_open returns true even if socket is unusable
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-27 09:55:00
#7392: boost::asio::ip::tcp::socket::is_open returns true even if socket is
unusable
------------------------------------------------------+---------------------
Reporter: Valentin Shtronda <valiko.ua@â¦> | Owner: chris_kohlhoff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------------------------+---------------------
Comment (by anonymous):
Note:
In reactive_socket_service_base.hpp
// Determine whether the socket is open.
bool is_open(const base_implementation_type& impl) const
{
return impl.socket_ != invalid_socket;
}
impl.socket_ is "8" in my case
The issue is also present in 1.50 (the latest one in debian)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7392#comment:2> 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:11 UTC