ignore unknown metadata messages
This commit is contained in:
parent
7ae9ed1a7d
commit
32ee88bc05
|
@ -80,6 +80,10 @@
|
|||
* added session::is_dht_running() function
|
||||
* added torrent_handle::force_dht_announce()
|
||||
|
||||
release 0.14.8
|
||||
|
||||
* ignore unkown metadata messages
|
||||
|
||||
release 0.14.7
|
||||
|
||||
* fixed deadlock in natpmp
|
||||
|
|
|
@ -355,9 +355,7 @@ namespace libtorrent { namespace
|
|||
}
|
||||
break;
|
||||
default:
|
||||
{
|
||||
m_pc.disconnect(error_code(errors::invalid_metadata_message, libtorrent_category), 2);
|
||||
}
|
||||
// unknown message, ignore
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue