fix relay connect handler
This commit is contained in:
1 parent
b8027864a3
commit
09ee29091b
1 file changed
+1
-1
@@ -214,7 +214,7 @@ func (h *relayHandler) Handle(ctx context.Context, conn net.Conn, opts ...handle
|
||||
}
|
||||
|
||||
switch req.Cmd & relay.CmdMask {
|
||||
case relay.CmdConnect:
|
||||
case 0, relay.CmdConnect:
|
||||
defer conn.Close()
|
||||
|
||||
if !tunnelID.IsZero() {
|
||||
|
||||
Reference in new issue
Block a user