mirror of
https://github.com/fatedier/frp.git
synced 2025-01-22 09:32:07 +00:00
parent
a6478aeac8
commit
46266e4d30
@ -298,8 +298,8 @@ func (ctl *Control) msgHandler() {
|
|||||||
xl.Debug("send heartbeat to server")
|
xl.Debug("send heartbeat to server")
|
||||||
pingMsg := &msg.Ping{}
|
pingMsg := &msg.Ping{}
|
||||||
if err := ctl.authSetter.SetPing(pingMsg); err != nil {
|
if err := ctl.authSetter.SetPing(pingMsg); err != nil {
|
||||||
xl.Warn("error during ping authentication: %v", err)
|
xl.Warn("error during ping authentication: %v. skip sending ping message", err)
|
||||||
return
|
continue
|
||||||
}
|
}
|
||||||
ctl.sendCh <- pingMsg
|
ctl.sendCh <- pingMsg
|
||||||
case <-hbCheckCh:
|
case <-hbCheckCh:
|
||||||
|
Loading…
Reference in New Issue
Block a user