Add handler tracking locations to tcp teardown

This commit is contained in:
Richard Hodges committed 2020-08-28 13:26:21 +02:00
1 parent 2f6bf76cb4
commit 8c21c80f43
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;