mirror of
https://gogs.blitter.com/RLabs/xs
synced 2024-08-14 10:26:42 +00:00
Shorter servertun hangup msg
Signed-off-by: Russ Magee <rmagee@gmail.com>
This commit is contained in:
parent
b0f614f82e
commit
d9453835bf
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ func (hc *Conn) StartServerTunnel(lport, rport uint16) {
|
||||||
|
|
||||||
if (*hc.tuns)[rport].KeepAlive > 50 {
|
if (*hc.tuns)[rport].KeepAlive > 50 {
|
||||||
(*hc.tuns)[rport].Died = true
|
(*hc.tuns)[rport].Died = true
|
||||||
logger.LogDebug("[ServerTun] worker A: Oh dear, client appears to have died. Hanging up rport Dial().")
|
logger.LogDebug("[ServerTun] worker A: Client died, hanging up.")
|
||||||
} else {
|
} else {
|
||||||
(*hc.tuns)[rport].KeepAlive += 1
|
(*hc.tuns)[rport].KeepAlive += 1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue