mirror of
https://gitee.com/IrisVega/frp.git
synced 2024-11-01 22:31:29 +08:00
cmd/frps/control: fix bug when frpc login failed
This commit is contained in:
parent
d39d745e43
commit
040841db48
@ -93,6 +93,11 @@ func controlWorker(c *conn.Conn) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// if login failed, just return
|
||||||
|
if ret > 0 {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
// create a channel for sending messages
|
// create a channel for sending messages
|
||||||
msgSendChan := make(chan interface{}, 1024)
|
msgSendChan := make(chan interface{}, 1024)
|
||||||
go msgSender(s, c, msgSendChan)
|
go msgSender(s, c, msgSendChan)
|
||||||
|
Loading…
Reference in New Issue
Block a user