mirror of https://gogs.blitter.com/RLabs/xs
				
				
				
			Reverted hkexnet.Close() deletion, caused hang
Signed-off-by: Russ Magee <rmagee@gmail.com>
This commit is contained in:
		
							parent
							
								
									1909786a4b
								
							
						
					
					
						commit
						673074d618
					
				| 
						 | 
				
			
			@ -433,6 +433,8 @@ func main() {
 | 
			
		|||
		conn, err := l.Accept()
 | 
			
		||||
		if err != nil {
 | 
			
		||||
			log.Printf("Accept() got error(%v), hanging up.\n", err)
 | 
			
		||||
			conn.Close()
 | 
			
		||||
			//log.Fatal(err)
 | 
			
		||||
		} else {
 | 
			
		||||
			log.Println("Accepted client")
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue