mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 00:20:46 +00:00 
			
		
		
		
	increase max packet size
This commit is contained in:
		
							parent
							
								
									1ea26a113a
								
							
						
					
					
						commit
						e0e27047f9
					
				
					 2 changed files with 20 additions and 21 deletions
				
			
		| 
						 | 
				
			
			@ -34,7 +34,7 @@ namespace stream
 | 
			
		|||
	const uint16_t PACKET_FLAG_NO_ACK = 0x0400;
 | 
			
		||||
 | 
			
		||||
	const size_t STREAMING_MTU = 1730;
 | 
			
		||||
	const size_t MAX_PACKET_SIZE = 1754;
 | 
			
		||||
	const size_t MAX_PACKET_SIZE = 4096;
 | 
			
		||||
 | 
			
		||||
	struct Packet
 | 
			
		||||
	{
 | 
			
		||||
| 
						 | 
				
			
			@ -111,7 +111,8 @@ namespace stream
 | 
			
		|||
		private:
 | 
			
		||||
 | 
			
		||||
			boost::asio::io_service& m_Service;
 | 
			
		||||
			uint32_t m_SendStreamID, m_RecvStreamID, m_SequenceNumber, m_LastReceivedSequenceNumber;
 | 
			
		||||
			uint32_t m_SendStreamID, m_RecvStreamID, m_SequenceNumber;
 | 
			
		||||
			int32_t m_LastReceivedSequenceNumber;
 | 
			
		||||
			bool m_IsOpen, m_IsOutgoing, m_LeaseSetUpdated;
 | 
			
		||||
			StreamingDestination * m_LocalDestination;
 | 
			
		||||
			i2p::data::Identity m_RemoteIdentity;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue