mirror of
https://github.com/boostorg/beast.git
synced 2025-07-29 20:37:31 +02:00
Eliminate spurious uninitialised variable warning in detect_ssl
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
Version XXX:
|
||||
|
||||
* Eliminate spurious uninitialised variable warning in detect_ssl.
|
||||
* Add handler tracking locations to flat_stream.
|
||||
* Add handler tracking locations to detect_ssl.
|
||||
* Add handler tracking locations to icy_stream.
|
||||
|
@ -56,6 +56,7 @@ public:
|
||||
s.get_executor())
|
||||
, s_(s)
|
||||
, role_(role)
|
||||
, nb_(false)
|
||||
{
|
||||
(*this)({}, 0, false);
|
||||
}
|
||||
@ -85,9 +86,16 @@ public:
|
||||
if(ec == net::error::would_block)
|
||||
{
|
||||
BOOST_ASIO_CORO_YIELD
|
||||
s_.async_wait(
|
||||
net::socket_base::wait_read,
|
||||
beast::detail::bind_continuation(std::move(*this)));
|
||||
{
|
||||
BOOST_ASIO_HANDLER_LOCATION((
|
||||
__FILE__, __LINE__,
|
||||
"websocket::ssl::teardown"
|
||||
));
|
||||
|
||||
s_.async_wait(
|
||||
net::socket_base::wait_read,
|
||||
beast::detail::bind_continuation(std::move(*this)));
|
||||
}
|
||||
continue;
|
||||
}
|
||||
if(ec)
|
||||
|
Reference in New Issue
Block a user