mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	it helps to actually set the flag...
This commit is contained in:
		
							parent
							
								
									27cc57dbbc
								
							
						
					
					
						commit
						3e07995518
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -369,6 +369,7 @@ func (intf *linkInterface) notifyRead(size int) {
 | 
			
		|||
		intf.stalled = false
 | 
			
		||||
		if !intf.unstalled {
 | 
			
		||||
			intf._notifySwitch()
 | 
			
		||||
			intf.unstalled = true
 | 
			
		||||
		}
 | 
			
		||||
		if size > 0 && intf.stallTimer == nil {
 | 
			
		||||
			intf.stallTimer = time.AfterFunc(keepAliveTime, intf.notifyDoKeepAlive)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue