diff --git a/include/boost/beast/core/async_base.hpp b/include/boost/beast/core/async_base.hpp index 0d9ce379..c5760308 100644 --- a/include/boost/beast/core/async_base.hpp +++ b/include/boost/beast/core/async_base.hpp @@ -117,7 +117,7 @@ namespace beast { // `net::post` will be used to call the completion handler, otherwise // the completion handler will be invoked directly. - this->invoke(is_continuation, ec, total_bytes_transferred_); + this->complete(is_continuation, ec, total_bytes_transferred_); } };