fix socks issue

This commit is contained in:
KingKDot
2026-05-18 10:10:19 -05:00
parent 95f7db5dd5
commit b8121ade9a
2 changed files with 60 additions and 6 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ import (
"fmt"
"log"
"net"
"strconv"
"sync"
"time"
@@ -63,7 +64,7 @@ func HandleProxyConnect(ctx context.Context, env *runtime.Env, connID string, pa
})
}
target := fmt.Sprintf("%s:%d", host, port)
target := net.JoinHostPort(host, strconv.Itoa(port))
goSafe("tunnel-dial-"+connID, nil, func() {