-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
boost::beast::ssl_stream::async_handshake() doesn't accept cti::use_continuable #52
Comments
I notice that the deduction for
vs.
that's all a little beyond me. that doesn't explain, however, why it works for |
Thank your for your report. I was able to reproduce this issue (on boost 1.80). I'm not entirely sure yet, what is causing this. |
I found the reason for this issue: Since boost:::asio 1.72 or asio (standalone) 1.16 the See template <typename Signature, typename Matcher>
class async_result<cti::use_continuable_t<Matcher>, Signature> {
public:
#if defined(CTI_DETAIL_ASIO_HAS_EXPLICIT_RET_TYPE_INTEGRATION)
using return_type = typename cti::detail::asio::initiate_make_continuable<
Signature>::erased_return_type;
#endif The I would suggest that you ask at boostorg/beast whether they can auto-replace As workaround you can temporarily define For reference see: continuable/include/continuable/external/asio.hpp Lines 149 to 175 in b51be39
|
I am having seemingly the same issue, both with |
@Naios
it works fine with other boost & beast APIs.
Commit Hash
6bffb44 (4.1.0 release)
The text was updated successfully, but these errors were encountered: