mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 12:24:19 +00:00
try fixing webui freeze
This commit is contained in:
parent
aa687afd37
commit
722f1c4430
@ -828,7 +828,13 @@ namespace http {
|
|||||||
std::shared_ptr<boost::asio::ip::tcp::socket> newSocket)
|
std::shared_ptr<boost::asio::ip::tcp::socket> newSocket)
|
||||||
{
|
{
|
||||||
if (ecode)
|
if (ecode)
|
||||||
|
{
|
||||||
|
if(newSocket) newSocket->close();
|
||||||
|
LogPrint(eLogError, "HTTP Server: error handling accept ", ecode.message());
|
||||||
|
if(ecode != boost::asio::error::operation_aborted)
|
||||||
|
Accept();
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
CreateConnection(newSocket);
|
CreateConnection(newSocket);
|
||||||
Accept ();
|
Accept ();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user