Browse Source

try fixing webui freeze

pull/626/head
Jeff Becker 8 years ago
parent
commit
722f1c4430
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
  1. 6
      HTTPServer.cpp

6
HTTPServer.cpp

@ -828,7 +828,13 @@ namespace http { @@ -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…
Cancel
Save