[Boost-bugs] [Boost C++ Libraries] #5742: cancel() for not connected socket causes "Bad file descriptor" exception

Subject: [Boost-bugs] [Boost C++ Libraries] #5742: cancel() for not connected socket causes "Bad file descriptor" exception
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-29 22:05:00


#5742: cancel() for not connected socket causes "Bad file descriptor" exception
------------------------------------------------+---------------------------
 Reporter: Gennady Proskurin <gprspb@…> | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
------------------------------------------------+---------------------------
 If socket is not connected, doing cancel() for it causes the following
 exception:

 terminate called after throwing an instance of
 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error>
>'
   what(): Bad file descriptor
 Abort (core dumped)
 Exit 134

 Test program attached.
 This affects at least tcp and local::stream_protocol sockets, and possibly
 other sockets.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5742>
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:07 UTC