don't drop messages with pathid zero which belong to snode to snode dht and path build requests.

pull/1079/head
Jeff Becker 4 years ago
parent c8417a7270
commit 80f8363386
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -284,7 +284,7 @@ namespace llarp
MessageQueue &path_queue = itr_pair.first->second;
if(path_queue.size() < MAX_PATH_QUEUE_SIZE)
if(path_queue.size() < MAX_PATH_QUEUE_SIZE || entry.pathid.IsZero())
{
path_queue.push(std::move(entry));
}

Loading…
Cancel
Save