mirror of https://github.com/oxen-io/lokinet
Merge pull request #1896 from majestrate/unstuck-obctx-2022-04-17
handle edge case better
This commit is contained in:
commit
9fd20c885b
|
@ -45,11 +45,10 @@ namespace llarp
|
|||
if (dst == remoteIntro.pathID && remoteIntro.router == p->Endpoint())
|
||||
{
|
||||
LogWarn(Name(), " message ", seq, " dropped by endpoint ", p->Endpoint(), " via ", dst);
|
||||
MarkCurrentIntroBad(Now());
|
||||
ShiftIntroduction(false);
|
||||
UpdateIntroSet();
|
||||
SwapIntros();
|
||||
markedBad = remoteIntro.IsExpired(Now());
|
||||
MarkCurrentIntroBad(Now());
|
||||
ShiftIntroRouter(p->Endpoint());
|
||||
UpdateIntroSet();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue