Don't throw exception for socket failure as we already bring down the connection
This commit is contained in:
parent
c21cccd98a
commit
972260b76c
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ void SocketConnection::on_read_size(const boost::system::error_code& error, std:
|
|||
if (connections_)
|
||||
connections_->remove(id());
|
||||
|
||||
BOOST_THROW_EXCEPTION(std::runtime_error(error.message()));
|
||||
return;
|
||||
}
|
||||
|
||||
std::vector<std::uint8_t> data(bytes_read);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue