Merge pull request #5004 from birarda/domain-dtls

fix debug for failed ping to DS
This commit is contained in:
Stephen Birarda 2015-05-29 16:21:41 -04:00
commit e7ce8706a3

View file

@ -505,9 +505,13 @@ void NodeList::pingPunchForDomainServer() {
} else {
if (_domainHandler.getICEPeer().getConnectionAttempts() % NUM_DOMAIN_SERVER_PINGS_BEFORE_RESET == 0) {
// if we have then nullify the domain handler's network peer and send a fresh ICE heartbeat
qCDebug(networking) << "No ping replies received from domain-server with ID"
<< uuidStringWithoutCurlyBraces(_domainHandler.getICEClientID()) << "-" << "re-sending ICE query.";
_domainHandler.getICEPeer().softReset();
handleICEConnectionToDomainServer();
return;
}
}