Re: [Boost-bugs] [Boost C++ Libraries] #8722: The boost::asio::windows::stream_handle::read_some method may (incorrectly) throw when used with named-pipes in message mode (on Windows) and receives an ERROR_MORE_DATA error

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8722: The boost::asio::windows::stream_handle::read_some method may (incorrectly) throw when used with named-pipes in message mode (on Windows) and receives an ERROR_MORE_DATA error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-08-01 15:44:04


#8722: The boost::asio::windows::stream_handle::read_some method may (incorrectly)
throw when used with named-pipes in message mode (on Windows) and receives
an ERROR_MORE_DATA error
-----------------------------------------+----------------------------
  Reporter: Dentcho Bankov <dbankov@…> | Owner: chris_kohlhoff
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: asio
   Version: Boost Development Trunk | Severity: Problem
Resolution: fixed | Keywords:
-----------------------------------------+----------------------------

Comment (by Dentcho Bankov <dbankov@…>):

 We hit this problem again now that we moved to BOOST 1.61. At the time I
 filed this ticket I suspected that the correct fix could be to provide the
 bytes_transmitted value in the exception but weren't happy with this
 because we'd have to handle a standard use case through an exception.
 Using the error_code overload seems to be a good enough way to avoid
 throwing an exception in a normal use case so I'd agree this is an
 acceptable solution. Still #10034 is not fixed so I'll try to provide a
 fix for it.

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/8722#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-08-01 15:49:45 UTC