mirror of https://gogs.blitter.com/RLabs/xs
parent
8f5366fff4
commit
78b2006af6
|
@ -349,8 +349,8 @@ func (hc *Conn) StartServerTunnel(lport, rport uint16) {
|
|||
break
|
||||
} else if strings.Contains(e.Error(), "i/o timeout") {
|
||||
if !hc.TunIsAlive(rport) {
|
||||
logger.LogDebug(fmt.Sprintf("[ServerTun] worker A: timeout: Server side died, hanging up %v", (*hc.tuns)[rport]))
|
||||
hc.ShutdownTun(rport)
|
||||
logger.LogDebug(fmt.Sprintf("[ServerTun] worker A: timeout: Server side died, hanging up %v", (*hc.tuns)[rport]))
|
||||
hc.ShutdownTun(rport)
|
||||
break
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue