]> Sergey Matveev's repositories - btrtrc.git/commit
Don't dial in UDP tracking
authorMatt Joiner <anacrolix@gmail.com>
Mon, 22 Nov 2021 07:05:50 +0000 (18:05 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 22 Nov 2021 07:11:09 +0000 (18:11 +1100)
commit6cb65f4ecf424613722d4670b4d72727f40dbc71
tree7fbd878184a04aa0457f93961fa9bacdbfa65fb3
parent8555ab7f2142b7f5832f3a205cee547091370318
Don't dial in UDP tracking

This could fix an issue where tracker addresses change, but we're already bound to a particular address and so fail to receive any more responses.
It should also make it easier to share UDP sockets between UDP tracker clients, although that's not currently implemented.
tracker/udp/client.go
tracker/udp/conn-client.go
tracker/udp/dispatcher.go
tracker/udp_test.go