mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
Merge remote-tracking branch 'purple/openssl' into merge_udp_tunnel
This commit is contained in:
commit
b6b14f4957
8 changed files with 247 additions and 7 deletions
|
@ -829,7 +829,13 @@ namespace http {
|
|||
std::shared_ptr<boost::asio::ip::tcp::socket> newSocket)
|
||||
{
|
||||
if (ecode)
|
||||
{
|
||||
if(newSocket) newSocket->close();
|
||||
LogPrint(eLogError, "HTTP Server: error handling accept ", ecode.message());
|
||||
if(ecode != boost::asio::error::operation_aborted)
|
||||
Accept();
|
||||
return;
|
||||
}
|
||||
CreateConnection(newSocket);
|
||||
Accept ();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue