fix: connection drop

This commit is contained in:
tux
2025-02-27 15:31:41 +05:30
parent adba59f552
commit d52159d98d
4 changed files with 72 additions and 37 deletions

View File

@ -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")