mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	terminate NTCP session by timeout
This commit is contained in:
		
							parent
							
								
									1d9fdca9ce
								
							
						
					
					
						commit
						4fc3b8026a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -595,7 +595,7 @@ namespace ntcp
 | 
				
			||||||
		if (ecode != boost::asio::error::operation_aborted)
 | 
							if (ecode != boost::asio::error::operation_aborted)
 | 
				
			||||||
		{	
 | 
							{	
 | 
				
			||||||
			LogPrint ("No activity fo ", NTCP_TERMINATION_TIMEOUT, " seconds");
 | 
								LogPrint ("No activity fo ", NTCP_TERMINATION_TIMEOUT, " seconds");
 | 
				
			||||||
			m_Socket.close ();
 | 
								Terminate ();
 | 
				
			||||||
		}	
 | 
							}	
 | 
				
			||||||
	}	
 | 
						}	
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue