forked from boostorg/beast
Add handler tracking locations to tcp teardown
This commit is contained in:
2 files changed
+11
-3
No files matched your search
@@ -89,7 +89,7 @@ public:
|
||||
{
|
||||
BOOST_ASIO_HANDLER_LOCATION((
|
||||
__FILE__, __LINE__,
|
||||
"websocket::ssl::teardown"
|
||||
"websocket::tcp::async_teardown"
|
||||
));
|
||||
|
||||
s_.async_wait(
|
||||
@@ -121,8 +121,15 @@ public:
|
||||
if(! cont)
|
||||
{
|
||||
BOOST_ASIO_CORO_YIELD
|
||||
net::post(bind_front_handler(
|
||||
std::move(*this), ec));
|
||||
{
|
||||
BOOST_ASIO_HANDLER_LOCATION((
|
||||
__FILE__, __LINE__,
|
||||
"websocket::tcp::async_teardown"
|
||||
));
|
||||
|
||||
net::post(bind_front_handler(
|
||||
std::move(*this), ec));
|
||||
}
|
||||
}
|
||||
{
|
||||
error_code ignored;
|
||||
|
||||
Reference in new issue
Block a user