From 33006eeb20dd88279036ff68cbb84e0e8f5dfbe5 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Tue, 27 Nov 2018 23:22:24 +1100 Subject: [PATCH] Use new conntrack priorities Fixes #295 --- client.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client.go b/client.go index e17fd0aa..d348a1d8 100644 --- a/client.go +++ b/client.go @@ -544,7 +544,9 @@ func (cl *Client) dialFirst(ctx context.Context, addr string) dialResult { go func() { cte := cl.config.ConnTracker.Wait( conntrack.Entry{network, s.Addr().String(), addr}, - "dial torrent client") + "dial torrent client", + 0, + ) c, err := s.dial(ctx, addr) // This is a bit optimistic, but it looks non-trivial to thread // this through the proxy code. Set it now in case we close the -- 2.48.1