mirror of
				https://github.com/v2fly/v2ray-core.git
				synced 2025-10-31 17:59:15 +00:00 
			
		
		
		
	Fix XTLS over mKCP (#302)
This commit is contained in:
		
							parent
							
								
									c50fef48a7
								
							
						
					
					
						commit
						ff6bb51732
					
				| @ -138,9 +138,9 @@ func (l *Listener) OnReceive(payload *buf.Buffer, src net.Destination) { | ||||
| 		}, writer, l.config) | ||||
| 		var netConn internet.Connection = conn | ||||
| 		if l.tlsConfig != nil { | ||||
| 			netConn = gotls.Server(conn, l.tlsConfig) | ||||
| 			netConn = tls.Server(conn, l.tlsConfig) | ||||
| 		} else if l.xtlsConfig != nil { | ||||
| 			netConn = goxtls.Server(conn, l.xtlsConfig) | ||||
| 			netConn = xtls.Server(conn, l.xtlsConfig) | ||||
| 		} | ||||
| 
 | ||||
| 		l.addConn(netConn) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 RPRX
						RPRX