From 6b447c8d2bdd381d259a33b6c85dc0685f125a05 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Mon, 20 Jun 2016 17:51:40 +1000 Subject: [PATCH] Track closing of outbound TCP connections Got all inbound and outbound UTP, missed this one I think. --- client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client.go b/client.go index bb7c0976..b83ef33d 100644 --- a/client.go +++ b/client.go @@ -516,6 +516,7 @@ func (cl *Client) dialTCP(addr string, t *Torrent) (c net.Conn, err error) { if err == nil { c.(*net.TCPConn).SetLinger(0) } + c = pproffd.WrapNetConn(c) return } -- 2.48.1