]> Sergey Matveev's repositories - btrtrc.git/commit
TestSetMaxEstablishedConn does now work with utp
authorMatt Joiner <anacrolix@gmail.com>
Wed, 6 Jul 2016 01:05:04 +0000 (11:05 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Wed, 6 Jul 2016 01:05:04 +0000 (11:05 +1000)
commiteb1be48cc6431cb380abbe11af6e72bbcec47b06
tree931aa4e937d70412fd1e3af8b755ceaa7e821d31
parentb7cd79ef62144370582184413dbb897b7de71bac
TestSetMaxEstablishedConn does now work with utp

I think dialing out from a utp.Socket before its reader has initialized may be the cause. Either way moving the addPeers to after all the Clients are initialized has worked around it as a side effect.
client_test.go