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:
parent
188aa800b2
commit
04ff050ecd
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue