Skip to content

Commit

Permalink
Avoid print acceptor cancel error on stop
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackarain committed Jun 10, 2024
1 parent d26fec4 commit e00ad65
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions proxy/include/proxy/proxy_server.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4796,8 +4796,9 @@ R"x*x*x(<html>
socket.lowest_layer(), net_awaitable[error]);
if (error)
{
XLOG_ERR << "start_proxy_listen"
", async_accept: " << error.message();
if (!m_abort)
XLOG_ERR << "start_proxy_listen"
", async_accept: " << error.message();
co_return;
}

Expand Down

0 comments on commit e00ad65

Please sign in to comment.