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

Method CleanupUDP

libi2pd_client/ClientContext.cpp:1077–1085  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1075 }
1076
1077 void ClientContext::CleanupUDP(const boost::system::error_code & ecode)
1078 {
1079 if(!ecode)
1080 {
1081 std::lock_guard<std::mutex> lock(m_ForwardsMutex);
1082 for (auto & s : m_ServerForwards ) s.second->ExpireStale();
1083 ScheduleCleanupUDP();
1084 }
1085 }
1086
1087 void ClientContext::VisitTunnels (bool clean)
1088 {

Callers

nothing calls this directly

Calls 1

ExpireStaleMethod · 0.80

Tested by

no test coverage detected