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