| 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 | { |
nothing calls this directly
no outgoing calls
no test coverage detected