mirror of
https://github.com/fatedier/frp.git
synced 2025-07-15 10:19:26 +07:00
fix heartbeat error
This commit is contained in:
@ -318,6 +318,7 @@ func (ctl *Control) manager() {
|
||||
ctl.sendCh <- resp
|
||||
case *msg.Ping:
|
||||
ctl.lastPing = time.Now()
|
||||
ctl.conn.Debug("receive heartbeat")
|
||||
ctl.sendCh <- &msg.Pong{}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user