update
							parent
							
								
									2b2faec437
								
							
						
					
					
						commit
						12336a9c40
					
				| 
						 | 
				
			
			@ -103,10 +103,11 @@ func (t *TCP) handleConn(mainCtx context.Context, localConn net.Conn, targetAddr
 | 
			
		|||
 | 
			
		||||
	default:
 | 
			
		||||
		targetConn, err = net.Dial("tcp", targetAddr)
 | 
			
		||||
		if err != nil {
 | 
			
		||||
			mylog.Error("Error connecting to target:", err)
 | 
			
		||||
			return
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		mylog.Error("Error connecting to target:", err)
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	defer targetConn.Close()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue