Try with the non-preferred header obfuscation if there's an error
The function called was more selective about what it returned as an error, but that style is outdated (should use xerrors), and no longer returns as expected.
This commit is contained in:
parent
1d8873552a
commit
5774859701
|
@ -654,7 +654,6 @@ func (cl *Client) establishOutgoingConn(t *Torrent, addr IpPort) (c *connection,
|
|||
c, err = cl.establishOutgoingConnEx(t, addr, ctx, obfuscatedHeaderFirst)
|
||||
if err != nil {
|
||||
//cl.logger.Printf("error establish connection to %s (obfuscatedHeader=%t): %v", addr, obfuscatedHeaderFirst, err)
|
||||
return
|
||||
}
|
||||
if c != nil {
|
||||
torrent.Add("initiated conn with preferred header obfuscation", 1)
|
||||
|
|
Loading…
Reference in New Issue