log problem 2 (#120)

* Update libv2ray_support.go

* Update libv2ray_support.go

* Update libv2ray_support.go
This commit is contained in:
patterniha authored and GitHub committed 2025-02-19 12:36:49 +08:00
1 parent fc38247501
commit e53f4722b6
1 file changed
+3 -3
+3 -3
View File
@@ -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
}
}