Skip to content
Snippets Groups Projects
Commit bea0a9b9 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

ringdht: don't do "cancelPut"

early cancelPut can sometimes prevent to send
the message to all nodes.
cancelPut should only be used when the data
can be discarded from the dht (not the case here).

Change-Id: I71464faa828ac49ae20e329e554d7981c8b795f5
Tuleap: #709
parent bd3565ba
No related branches found
No related tags found
No related merge requests found
......@@ -237,7 +237,6 @@ RingAccount::newOutgoingCall(const std::string& toUrl)
call->onFailure();
} else
RING_DBG("Successfully put ICE descriptor on DHT");
shared_this->dht_.cancelPut(callkey, vid);
}
);
......@@ -1005,7 +1004,6 @@ RingAccount::incomingCall(dht::IceCandidates&& msg)
call->onFailure();
} else
RING_DBG("Successfully put ICE descriptor reply on DHT");
shared_this->dht_.cancelPut(shared_this->callKey_, vid);
}
);
if (!ice->start(msg.ice_data)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment