mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Update cpp-httplib for gzip + chunked encoding fixes
This commit is contained in:
		
							parent
							
								
									cf9bfe0690
								
							
						
					
					
						commit
						d184a3a1ee
					
				
					 2 changed files with 532 additions and 231 deletions
				
			
		|  | @ -31,14 +31,12 @@ std::unique_ptr<httplib::Client> GetClientFor(const LUrlParser::clParseURL& pars | |||
|         if (!parsedUrl.GetPort(&port)) { | ||||
|             port = HTTP_PORT; | ||||
|         } | ||||
|         return std::make_unique<hl::Client>(parsedUrl.m_Host.c_str(), port, TIMEOUT_SECONDS, | ||||
|                                             hl::HttpVersion::v1_1); | ||||
|         return std::make_unique<hl::Client>(parsedUrl.m_Host.c_str(), port, TIMEOUT_SECONDS); | ||||
|     } else if (parsedUrl.m_Scheme == "https") { | ||||
|         if (!parsedUrl.GetPort(&port)) { | ||||
|             port = HTTPS_PORT; | ||||
|         } | ||||
|         return std::make_unique<hl::SSLClient>(parsedUrl.m_Host.c_str(), port, TIMEOUT_SECONDS, | ||||
|                                                hl::HttpVersion::v1_1); | ||||
|         return std::make_unique<hl::SSLClient>(parsedUrl.m_Host.c_str(), port, TIMEOUT_SECONDS); | ||||
|     } else { | ||||
|         NGLOG_ERROR(WebService, "Bad URL scheme {}", parsedUrl.m_Scheme); | ||||
|         return nullptr; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue