mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 11:15:07 +03:00 
			
		
		
		
	change mtu and enable udp chunking
This commit is contained in:
		
							parent
							
								
									63aadf6e88
								
							
						
					
					
						commit
						b704d7b497
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -322,7 +322,7 @@ func (iface *udpInterface) reader() {
 | 
			
		|||
 | 
			
		||||
////////////////////////////////////////////////////////////////////////////////
 | 
			
		||||
 | 
			
		||||
const udp_chunkSize = 65535
 | 
			
		||||
const udp_chunkSize = 1024
 | 
			
		||||
 | 
			
		||||
func udp_decode(bs []byte) (chunks, chunk, count uint8, payload []byte) {
 | 
			
		||||
	if len(bs) >= 3 {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue