Disable keepalives for http trackers

Should work around an issue with S3 trackers holding connections open for very long periods.
This commit is contained in:
Matt Joiner 2020-04-28 09:15:06 +10:00
parent 188aa800b2
commit 04ff050ecd
1 changed files with 1 additions and 0 deletions

View File

@ -124,6 +124,7 @@ func announceHTTP(opt Announce, _url *url.URL) (ret AnnounceResponse, err error)
InsecureSkipVerify: true,
ServerName: opt.ServerName,
},
DisableKeepAlives: true,
},
}).Do(req)
if err != nil {