mirror of
https://github.com/fatedier/frp.git
synced 2026-01-10 10:13:16 +00: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