mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-13 04:46:38 +01:00
Merge pull request #626 from majestrate/webui-freeze-fix
Webui freeze fix
This commit is contained in:
commit
4a56d6bf1c
1 changed files with 6 additions and 0 deletions
|
@ -828,7 +828,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
Reference in a new issue