forked from premiere/premiere-libtorrent
fixed problem when sending messages to oneself fails in the dht
This commit is contained in:
parent
6f939b565b
commit
7bff835cdd
|
@ -199,6 +199,9 @@ void routing_table::node_failed(node_id const& id)
|
|||
, bind(&node_entry::id, _1), id));
|
||||
|
||||
if (i == b.end()) return;
|
||||
|
||||
// if messages to ourself fails, ignore it
|
||||
if (bucket_index == 0) return;
|
||||
|
||||
if (rb.empty())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue