mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-22 17:31:32 +00:00
don't restart acceptor after stop
This commit is contained in:
1 parent
55f9928485
commit
8da012b826
1 file changed
+2
-1
@@ -1617,7 +1617,8 @@ namespace http {
|
||||
if (newSocket) newSocket->close();
|
||||
LogPrint(eLogError, "HTTP Server: Error handling accept: ", ecode.message());
|
||||
}
|
||||
Accept ();
|
||||
if (m_IsRunning)
|
||||
Accept ();
|
||||
}
|
||||
|
||||
void HTTPServer::CreateConnection(std::shared_ptr<boost::asio::ip::tcp::socket> newSocket)
|
||||
|
||||
Reference in new issue
Block a user