mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	remove unused timer
This commit is contained in:
		
							parent
							
								
									aa4bddd6ec
								
							
						
					
					
						commit
						fc84d6c4b7
					
				
					 2 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -798,8 +798,7 @@ namespace http {
 | 
			
		|||
	}
 | 
			
		||||
 | 
			
		||||
	HTTPConnection::HTTPConnection (std::string hostname, std::shared_ptr<boost::asio::ip::tcp::socket> socket):
 | 
			
		||||
		m_Socket (socket), m_Timer (socket->get_io_service ()), m_BufferLen (0),
 | 
			
		||||
		expected_host(hostname)
 | 
			
		||||
		m_Socket (socket), m_BufferLen (0), expected_host(hostname)
 | 
			
		||||
	{
 | 
			
		||||
		/* cache options */
 | 
			
		||||
		i2p::config::GetOption("http.auth", needAuth);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -39,7 +39,6 @@ namespace http
 | 
			
		|||
		private:
 | 
			
		||||
 | 
			
		||||
			std::shared_ptr<boost::asio::ip::tcp::socket> m_Socket;
 | 
			
		||||
			boost::asio::deadline_timer m_Timer;
 | 
			
		||||
			char m_Buffer[HTTP_CONNECTION_BUFFER_SIZE + 1];
 | 
			
		||||
			size_t m_BufferLen;
 | 
			
		||||
			std::string m_SendBuffer;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue