Opened 5 years ago

Closed 5 years ago

#9741 closed Bugs (fixed)

incorrect continuation hook treatment in rewrapped_handler

Reported by: vinnie.falco@… Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

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_.

Change History (1)

comment:1 Changed 5 years ago by chris_kohlhoff

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.