mirror of
https://github.com/tuxdotrs/trok.git
synced 2025-07-08 04:36:33 +05:30
fix: connection drop
This commit is contained in:
@ -51,10 +51,10 @@ func (t *Trok) ControlConnHandler(conn net.Conn) {
|
||||
switch m.CMD {
|
||||
|
||||
case "EHLO":
|
||||
t.hanldeCMDEHLO(m)
|
||||
go t.hanldeCMDEHLO(m)
|
||||
|
||||
case "CNCT":
|
||||
t.handleCMDCNCT(m)
|
||||
go t.handleCMDCNCT(m)
|
||||
|
||||
default:
|
||||
log.Info().Msgf("invalid command")
|
||||
|
Reference in New Issue
Block a user