diff --git a/pkg/listener/listener.go b/pkg/listener/listener.go index 7eb93b7..bc7534e 100644 --- a/pkg/listener/listener.go +++ b/pkg/listener/listener.go @@ -8,12 +8,12 @@ import ( "log" "net" "regexp" + "strconv" + "strings" "tcp-proxy/pkg/common" "tcp-proxy/pkg/config" "tcp-proxy/pkg/logger" "tcp-proxy/pkg/proxy" - "strconv" - "strings" "github.com/google/uuid" ) @@ -146,6 +146,7 @@ func accept(ctx context.Context, listener *net.TCPListener, connChan chan *net.T select { case <-ctx.Done(): return + default: } } }