Skip to content
Snippets Groups Projects
Unverified Commit af8bfdc1 authored by Simon Désaulniers's avatar Simon Désaulniers
Browse files

dht: fix sendListen loop bug

Each time a 'listen' request is sent to the network engine, we track this
request in the upper layer with a map<shared_ptr<Query>, shared_ptr<Request>>.
At some point, this map has to be maintained or totally cleared. However, it was
done wrong, hence the sendListen loop. Clearing a pair <Query, Request> has to
be done when the API user cancels a 'listen' operation.
parent 88040ad4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment