These are chat archives for anacrolix/torrent

8th
Jul 2018
Denis
@elgatito
Jul 08 2018 16:04
@anacrolix hey, testing all the latest changes
look over the connections stats, that is after about 5-8 seconds after starting the torrent
like addition of connection is blocking other ones or something, then it starts fast
does not happen frequently, but happens
func (cl *Client) outgoingConnection(t *Torrent, addr string, ps peerSource) {
    c, err := cl.establishOutgoingConn(t, addr)
    cl.mu.Lock()
    defer cl.mu.Unlock()
isn't is locking before finishing handshake for specific connection?
oh, probably not the cause