]> Sergey Matveev's repositories - btrtrc.git/commit
Rework Client listeners
authorMatt Joiner <anacrolix@gmail.com>
Wed, 11 May 2016 11:11:52 +0000 (21:11 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Wed, 11 May 2016 11:11:52 +0000 (21:11 +1000)
commitdce3a7f6754f3f148ceda66d1d9924ac7d3de3da
treed6b1a0c60644e1ea5657d0da859f91eeb4336cf7
parent948552b2824b29e11d382d1c2af0ce4af03c1516
Rework Client listeners

In particular, if the ListenAddr used a dynamic port ":0", and both TCP and uTP were enabled. If the TCP listen succeeded, and the uTP did not, the TCP listener was leaked, and another port number was not tried.
client.go
client_test.go
fs/torrentfs_test.go