atomashpolskiy / bt

BitTorrent library and client with DHT, magnet links, encryption and more
https://atomashpolskiy.github.io/bt/
Apache License 2.0
2.4k stars 382 forks source link

bug #139 - missing equals/hashCode on InetPeer #191

Closed pyckle closed 2 years ago

atomashpolskiy commented 2 years ago

Interestingly, this broke the Swarm_MagnetIT test...

pyckle commented 2 years ago

Whoops. Trying again (: There's actually quite a bit of code that sadly depends on the identity hashCode/equals, and also a lot of code that is broken due to it not being based on the peer name and the port. Also the port is mutable.