| 592 | } |
| 593 | |
| 594 | void DatagramSession::Ack() |
| 595 | { |
| 596 | m_LastUse = i2p::util::GetMillisecondsSinceEpoch(); |
| 597 | auto path = GetSharedRoutingPath(); |
| 598 | if(path) |
| 599 | path->updateTime = i2p::util::GetSecondsSinceEpoch (); |
| 600 | if (IsRatchets ()) |
| 601 | SendMsg (nullptr); // send empty message in case if we don't have some data to send |
| 602 | } |
| 603 | |
| 604 | std::shared_ptr<i2p::garlic::GarlicRoutingPath> DatagramSession::GetSharedRoutingPath () |
| 605 | { |
no test coverage detected