mirror of
https://github.com/fatedier/frp.git
synced 2024-12-15 11:10:50 +01:00
merge dev for fixing bugs when frpc login failed
This commit is contained in:
commit
7a9a675d58
@ -93,6 +93,11 @@ func controlWorker(c *conn.Conn) {
|
||||
return
|
||||
}
|
||||
|
||||
// if login failed, just return
|
||||
if ret > 0 {
|
||||
return
|
||||
}
|
||||
|
||||
// create a channel for sending messages
|
||||
msgSendChan := make(chan interface{}, 1024)
|
||||
go msgSender(s, c, msgSendChan)
|
||||
|
Loading…
Reference in New Issue
Block a user