Bug fix!
This commit is contained in:
1 parent
a90ab3f5d6
commit
bd78ffd669
1 file changed
+2
@@ -212,6 +212,8 @@ func (r *remoteFSM) stateServer_onProbe(msg controlMsg[packetProbe]) {
|
||||
func (r *remoteFSM) stateServer_onPingTimer() {
|
||||
conf := r.conf()
|
||||
if time.Since(r.lastSeen) > timeoutInterval && conf.Up {
|
||||
// Reset trace ID to ensure connection goes up on next SYN.
|
||||
r.traceID = 0
|
||||
conf.Up = false
|
||||
r.updateConf(conf)
|
||||
r.logf("Timeout.")
|
||||
|
||||
Reference in new issue
Block a user