mirror of
				https://github.com/v2fly/v2ray-core.git
				synced 2025-11-04 03:39:24 +00:00 
			
		
		
		
	remove unnecessary log
This commit is contained in:
		
							parent
							
								
									7a082ce63a
								
							
						
					
					
						commit
						f3975aafbf
					
				@ -5,7 +5,6 @@ import (
 | 
			
		||||
	"net"
 | 
			
		||||
	"time"
 | 
			
		||||
 | 
			
		||||
	"github.com/v2ray/v2ray-core/common/log"
 | 
			
		||||
	v2net "github.com/v2ray/v2ray-core/common/net"
 | 
			
		||||
	"github.com/v2ray/v2ray-core/transport"
 | 
			
		||||
)
 | 
			
		||||
@ -24,13 +23,10 @@ func Dial(dest v2net.Destination) (*Connection, error) {
 | 
			
		||||
	}
 | 
			
		||||
	if conn == nil {
 | 
			
		||||
		var err error
 | 
			
		||||
		log.Debug("Hub: Dialling new connection to ", dest)
 | 
			
		||||
		conn, err = DialWithoutCache(dest)
 | 
			
		||||
		if err != nil {
 | 
			
		||||
			return nil, err
 | 
			
		||||
		}
 | 
			
		||||
	} else {
 | 
			
		||||
		log.Debug("Hub: Reusing connection to ", dest)
 | 
			
		||||
	}
 | 
			
		||||
	return &Connection{
 | 
			
		||||
		dest:     destStr,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user