Fix async_detect_ssl handler type

close #1569
This commit is contained in:
Vinnie Falco
2019-04-18 18:22:24 -07:00
parent 6e70c4260f
commit db118f4dc4
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Version 253:
* Fix async_detect_ssl handler type
--------------------------------------------------------------------------------
Version 252:
* More std::string_view fixes

View File

@ -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<AsyncReadStream>>(
std::forward<DetectHandler_>(handler),
stream.get_executor())