[Boost-bugs] [Boost C++ Libraries] #9741: incorrect continuation hook treatment in rewrapped_handler

Subject: [Boost-bugs] [Boost C++ Libraries] #9741: incorrect continuation hook treatment in rewrapped_handler
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-03-05 00:17:18


#9741: incorrect continuation hook treatment in rewrapped_handler
------------------------------+----------------------------
 Reporter: vinnie.falco@… | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |
------------------------------+----------------------------
 This function:
 {{{
 template <typename Dispatcher, typename Context>
 inline bool asio_handler_is_continuation(
     rewrapped_handler<Dispatcher, Context>* this_handler)
 {
   return boost_asio_handler_cont_helpers::is_continuation(
       this_handler->handler_);
 }
 }}}

 defined in boost/asio/detail/wrapped_handler.cpp, calls
 '''is_continuation''' on '''this_handler->handler_'''. I believe this is
 incorrect, it should use '''this_handler->context_'''.

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