mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 00:20:46 +00:00 
			
		
		
		
	merged with upstream
This commit is contained in:
		
							parent
							
								
									298181999d
								
							
						
					
					
						commit
						7379b4ddd2
					
				
					 9 changed files with 167 additions and 50 deletions
				
			
		| 
						 | 
				
			
			@ -812,7 +812,7 @@ namespace client
 | 
			
		|||
				socks.push_back(sock);
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		for (auto & sock : socks ) sock->Terminate();
 | 
			
		||||
                for (auto & sock : socks ) sock->Terminate("SAMSession::CloseStreams()");
 | 
			
		||||
		m_Sockets.clear();
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -87,10 +87,10 @@ namespace client
 | 
			
		|||
			void SetSocketType (SAMSocketType socketType) { m_SocketType = socketType; };
 | 
			
		||||
			SAMSocketType GetSocketType () const { return m_SocketType; };
 | 
			
		||||
 | 
			
		||||
			void Terminate ();
 | 
			
		||||
		private:
 | 
			
		||||
                        void Terminate (const char* reason);
 | 
			
		||||
 | 
			
		||||
                private:
 | 
			
		||||
 | 
			
		||||
			void Terminate (const char* reason);
 | 
			
		||||
			void HandleHandshakeReceived (const boost::system::error_code& ecode, std::size_t bytes_transferred);
 | 
			
		||||
			void HandleHandshakeReplySent (const boost::system::error_code& ecode, std::size_t bytes_transferred);
 | 
			
		||||
			void HandleMessage (const boost::system::error_code& ecode, std::size_t bytes_transferred);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue