MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / FindPendingOutgoingSession

Method FindPendingOutgoingSession

libi2pd/SSU2.cpp:593–600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

591 }
592
593 std::shared_ptr<SSU2Session> SSU2Server::FindPendingOutgoingSession (const boost::asio::ip::udp::endpoint& ep) const
594 {
595 std::lock_guard<std::mutex> l(m_PendingOutgoingSessionsMutex);
596 auto it = m_PendingOutgoingSessions.find (ep);
597 if (it != m_PendingOutgoingSessions.end ())
598 return it->second;
599 return nullptr;
600 }
601
602 void SSU2Server::RemovePendingOutgoingSession (const boost::asio::ip::udp::endpoint& ep)
603 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected