mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Remove websocketpp support (RIPD-1293)
This commit is contained in:
committed by
Nik Bougalis
parent
8d83aa5c07
commit
3d0314c621
@@ -1107,25 +1107,6 @@ bool ApplicationImp::setup()
|
||||
serverHandler_->setup (setup, m_journal);
|
||||
}
|
||||
|
||||
// Create websocket servers.
|
||||
for (auto const& port : serverHandler_->setup().ports)
|
||||
{
|
||||
if (! port.websockets())
|
||||
continue;
|
||||
auto server = websocket::makeServer (
|
||||
{*this, port, *m_resourceManager, getOPs(), m_journal, *config_,
|
||||
*m_collectorManager});
|
||||
if (!server)
|
||||
{
|
||||
JLOG(m_journal.fatal()) << "Could not create Websocket for [" <<
|
||||
port.name << "]";
|
||||
return false;
|
||||
}
|
||||
websocketServers_.emplace_back (std::move (server));
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
// Begin connecting to network.
|
||||
if (!config_->standalone())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user