]> Sergey Matveev's repositories - btrtrc.git/commit
Reject accepted connections if we don't want conns
authorMatt Joiner <anacrolix@gmail.com>
Wed, 23 Jun 2021 02:41:25 +0000 (12:41 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Wed, 23 Jun 2021 02:41:25 +0000 (12:41 +1000)
commit99f3e9ad3dc0fad1cc71e479719681418c3189b5
tree1355af02a8b52ffd445db9933048a760e18d086b
parent42a2fb445f94f4528a105898ace03b7875f4a0cb
Reject accepted connections if we don't want conns

This prevents unnecessarily stalling peers dialling us if we have no intention to ever accept.
client.go