fix: send DomainListRequest instead of Ping to avoid HMAC verification issues
This commit is contained in:
@@ -420,8 +420,10 @@ void OverteClient::poll() {
|
||||
auto now = std::chrono::steady_clock::now();
|
||||
|
||||
if (std::chrono::duration_cast<std::chrono::seconds>(now - lastPing).count() >= 1) {
|
||||
std::cout << "[OverteClient] Sending periodic ping to domain (localID=" << m_localID << ")" << std::endl;
|
||||
sendPing(m_udpFd, m_udpAddr, m_udpAddrLen);
|
||||
// EXPERIMENTAL: Send DomainListRequest instead of Ping to avoid HMAC verification issues
|
||||
// DomainListRequest is non-sourced and non-verified
|
||||
std::cout << "[OverteClient] Sending periodic DomainListRequest (keep-alive, localID=" << m_localID << ")" << std::endl;
|
||||
sendDomainListRequest();
|
||||
lastPing = now;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user