diff --git a/CHANGELOG.md b/CHANGELOG.md index 90cfea59..f46d88c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +Version 253: + +* Fix async_detect_ssl handler type + +-------------------------------------------------------------------------------- + Version 252: * More std::string_view fixes diff --git a/include/boost/beast/core/detect_ssl.hpp b/include/boost/beast/core/detect_ssl.hpp index b7b05501..92811568 100644 --- a/include/boost/beast/core/detect_ssl.hpp +++ b/include/boost/beast/core/detect_ssl.hpp @@ -430,7 +430,6 @@ async_detect_ssl( // Non-const references need to be passed as pointers, // since we don't want a decay-copy. - return net::async_initiate< CompletionToken, void(error_code, bool)>( @@ -505,7 +504,7 @@ public: AsyncReadStream& stream, DynamicBuffer& buffer) : beast::async_base< - DetectHandler_, + DetectHandler, beast::executor_type>( std::forward(handler), stream.get_executor())