mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	fixed sudden webconsole hangs
This commit is contained in:
		
							parent
							
								
									9b6facf3b0
								
							
						
					
					
						commit
						789ff702ac
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1227,10 +1227,10 @@ namespace http {
 | 
			
		|||
			LogPrint(eLogInfo, "HTTPServer: password set to ", pass);
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		m_Thread = std::unique_ptr<std::thread>(new std::thread (std::bind (&HTTPServer::Run, this)));
 | 
			
		||||
		m_IsRunning = true;
 | 
			
		||||
		m_Thread.reset (new std::thread (std::bind (&HTTPServer::Run, this)));
 | 
			
		||||
		m_Acceptor.listen ();
 | 
			
		||||
		Accept ();
 | 
			
		||||
		m_IsRunning = true;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	void HTTPServer::Stop ()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue