]> Sergey Matveev's repositories - btrtrc.git/commit
Make Torrent.conns a map
authorMatt Joiner <anacrolix@gmail.com>
Wed, 23 Nov 2016 00:48:44 +0000 (11:48 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Wed, 23 Nov 2016 00:48:44 +0000 (11:48 +1100)
commit4807c9e29a9c6ccf346bcdb06f2640cea8a5353c
treec4b809cf459332acd5c02b534030e454484459da
parentebbd555e7b2eb9755cc8dfef55eed26d49aa0be2
Make Torrent.conns a map

Can't remember if I've tried this before. But dropping arbitrary connections while iterating established conns will become much simpler.
client.go
connection.go
torrent.go