mirror of
				https://github.com/ton-blockchain/ton
				synced 2025-03-09 15:40:10 +00:00 
			
		
		
		
	Tonproxy improvements (#483)
* Bugfixes in rldp-http-proxy and http parser * Tonlib: change liteservers on query timeout or connection close * Increase maximum size of http request * Minor bugfixes in http
This commit is contained in:
		
							parent
							
								
									cc9ce0eb28
								
							
						
					
					
						commit
						caffdbb5ba
					
				
					 23 changed files with 158 additions and 77 deletions
				
			
		| 
						 | 
				
			
			@ -116,9 +116,9 @@ void RldpIn::process_message_part(adnl::AdnlNodeIdShort source, adnl::AdnlNodeId
 | 
			
		|||
    }
 | 
			
		||||
    auto ite = max_size_.find(part.transfer_id_);
 | 
			
		||||
    if (ite == max_size_.end()) {
 | 
			
		||||
      if (static_cast<td::uint64>(part.total_size_) > default_mtu()) {
 | 
			
		||||
      if (static_cast<td::uint64>(part.total_size_) > default_mtu_) {
 | 
			
		||||
        VLOG(RLDP_NOTICE) << "dropping too big rldp packet of size=" << part.total_size_
 | 
			
		||||
                          << " default_mtu=" << default_mtu();
 | 
			
		||||
                          << " default_mtu=" << default_mtu_;
 | 
			
		||||
        return;
 | 
			
		||||
      }
 | 
			
		||||
    } else {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue