mirror of
https://gogs.blitter.com/RLabs/xs
synced 2024-08-14 10:26:42 +00:00
gofmt
Signed-off-by: Russ Magee <rmagee@gmail.com>
This commit is contained in:
parent
8f5366fff4
commit
78b2006af6
1 changed files with 2 additions and 2 deletions
|
@ -349,8 +349,8 @@ func (hc *Conn) StartServerTunnel(lport, rport uint16) {
|
||||||
break
|
break
|
||||||
} else if strings.Contains(e.Error(), "i/o timeout") {
|
} else if strings.Contains(e.Error(), "i/o timeout") {
|
||||||
if !hc.TunIsAlive(rport) {
|
if !hc.TunIsAlive(rport) {
|
||||||
logger.LogDebug(fmt.Sprintf("[ServerTun] worker A: timeout: Server side died, hanging up %v", (*hc.tuns)[rport]))
|
logger.LogDebug(fmt.Sprintf("[ServerTun] worker A: timeout: Server side died, hanging up %v", (*hc.tuns)[rport]))
|
||||||
hc.ShutdownTun(rport)
|
hc.ShutdownTun(rport)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue