mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 11:15:07 +03:00 
			
		
		
		
	Update handler behavior
This commit is contained in:
		
							parent
							
								
									1170ea9e98
								
							
						
					
					
						commit
						90366dd853
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -102,7 +102,10 @@ func (ai *awdlInterface) handler() {
 | 
			
		|||
			ai.peer.handlePacket(r)
 | 
			
		||||
		case <-ai.shutdown:
 | 
			
		||||
			return
 | 
			
		||||
		default:
 | 
			
		||||
		case p := <-ai.peer.linkOut:
 | 
			
		||||
			ai.send <- p
 | 
			
		||||
			ai.awdl.core.switchTable.idleIn <- ai.peer.port
 | 
			
		||||
			continue
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue