lib/tun2: be less agressive about killing backends
This commit is contained in:
parent
d2c0a530ab
commit
941f1042e9
|
@ -58,7 +58,6 @@ func (c *Connection) Ping() error {
|
||||||
_, err = c.RoundTrip(req)
|
_, err = c.RoundTrip(req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ln.Error(err, c.F(), ln.F{"action": "ping_roundtrip"})
|
ln.Error(err, c.F(), ln.F{"action": "ping_roundtrip"})
|
||||||
defer c.cancel()
|
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue