mirror of https://github.com/oxen-io/lokinet
Merge pull request #1908 from majestrate/lrsm-and-queue-flush-2022-05-02
plug LRSM infoleak and queue flushing
This commit is contained in:
commit
a80f7e1cf6
|
@ -319,6 +319,8 @@ namespace llarp
|
|||
self->hop = nullptr;
|
||||
};
|
||||
self->context->ForwardLRCM(self->hop->info.upstream, self->frames, func);
|
||||
// trigger idempotent pump to ensure that the build messages propagate
|
||||
self->context->Router()->TriggerPump();
|
||||
}
|
||||
|
||||
// this is called from the logic thread
|
||||
|
|
|
@ -145,8 +145,8 @@ namespace llarp
|
|||
void
|
||||
LR_StatusMessage::SetDummyFrames()
|
||||
{
|
||||
// TODO
|
||||
return;
|
||||
for (auto& f : frames)
|
||||
f.Randomize();
|
||||
}
|
||||
|
||||
// call this from a worker thread
|
||||
|
|
Loading…
Reference in New Issue