Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
xyanrch committed Jul 20, 2022
1 parent 8cd4b02 commit fd51e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/ServerSession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ void ServerSession::destroy()
return;
}
boost::system::error_code ec;
in_ssl_socket.lowest_layer().cancel(ec);
in_ssl_socket.lowest_layer().shutdown(tcp::socket::shutdown_both, ec);
in_ssl_socket.lowest_layer().cancel(ec);
in_ssl_socket.lowest_layer().close(ec);
});
}
Expand Down

0 comments on commit fd51e73

Please sign in to comment.