From e53f4722b617c7517416a96a22afcdcbc352669c Mon Sep 17 00:00:00 2001 From: patterniha <71074308+patterniha@users.noreply.github.com> Date: Wed, 19 Feb 2025 08:06:49 +0330 Subject: [PATCH] log problem 2 (#120) * Update libv2ray_support.go * Update libv2ray_support.go * Update libv2ray_support.go --- libv2ray_support.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libv2ray_support.go b/libv2ray_support.go index 62cf801..5b628ae 100644 --- a/libv2ray_support.go +++ b/libv2ray_support.go @@ -222,7 +222,7 @@ func (d *ProtectedDialer) Init(_ dns.Client, _ outbound.Manager) { func (d *ProtectedDialer) Dial(ctx context.Context, src v2net.Address, dest v2net.Destination, sockopt *v2internet.SocketConfig) (net.Conn, error) { - network := dest.Network.SystemString() + // network := dest.Network.SystemString() Address := dest.NetAddr() // v2ray server address, @@ -260,7 +260,7 @@ func (d *ProtectedDialer) Dial(ctx context.Context, } // v2ray connecting to "domestic" servers, no caching results - log.Printf("Not Using Prepared: %s,%s", network, Address) + // log.Printf("Not Using Prepared: %s,%s", network, Address) resolved, err := d.lookupAddr(Address) if err != nil { return nil, err @@ -302,7 +302,7 @@ func (d *ProtectedDialer) fdConn(ctx context.Context, ip net.IP, port int, netwo } } else { if err := unix.Connect(fd, sa); err != nil { - log.Printf("fdConn unix.Connect err, Close Fd: %d Err: %v", fd, err) + // log.Printf("fdConn unix.Connect err, Close Fd: %d Err: %v", fd, err) return nil, err } }