mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Merge pull request #8077 from birarda/api-recheck-on-fail
clear domain connection refusals on hard reset only
This commit is contained in:
commit
6ed972257f
1 changed files with 2 additions and 1 deletions
|
@ -97,7 +97,6 @@ void DomainHandler::softReset() {
|
|||
|
||||
clearSettings();
|
||||
|
||||
_domainConnectionRefusals.clear();
|
||||
_connectionDenialsSinceKeypairRegen = 0;
|
||||
|
||||
// cancel the failure timeout for any pending requests for settings
|
||||
|
@ -119,6 +118,7 @@ void DomainHandler::hardReset() {
|
|||
_sockAddr.clear();
|
||||
|
||||
_hasSignalledProtocolMismatch = false;
|
||||
_domainConnectionRefusals.clear();
|
||||
|
||||
_hasCheckedForAccessToken = false;
|
||||
|
||||
|
@ -408,6 +408,7 @@ void DomainHandler::processDomainServerConnectionDeniedPacket(QSharedPointer<Rec
|
|||
qCWarning(networking) << "The domain-server denied a connection request: " << reasonMessage;
|
||||
|
||||
if (!_domainConnectionRefusals.contains(reasonCode)) {
|
||||
|
||||
_domainConnectionRefusals.append(reasonCode);
|
||||
|
||||
bool shouldSignal = true;
|
||||
|
|
Loading…
Reference in a new issue