mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	typo
This commit is contained in:
		
							parent
							
								
									b2922189b8
								
							
						
					
					
						commit
						f22eac497b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -260,7 +260,7 @@ func (c *Conn) _write(msg FlowKeyMessage) error {
 | 
			
		|||
	c.session.Act(c, func() {
 | 
			
		||||
		// Send the packet
 | 
			
		||||
		c.session._send(msg)
 | 
			
		||||
		// Session keep-alive, while we wait for the crypto workers from sefnd
 | 
			
		||||
		// Session keep-alive, while we wait for the crypto workers from send
 | 
			
		||||
		switch {
 | 
			
		||||
		case time.Since(c.session.time) > 6*time.Second:
 | 
			
		||||
			if c.session.time.Before(c.session.pingTime) && time.Since(c.session.pingTime) > 6*time.Second {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue