mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 19:23:47 +01:00
infra dns for http requests
This commit is contained in:
1 parent
cab8533bda
commit
787cd9b119
5 files changed
+63
-63
No files matched your search
@@ -747,8 +747,6 @@ static int sceHttpCreateConnectionWithURL(int templateID, const char *url, int e
|
||||
if (!baseURL.Valid())
|
||||
return hleLogError(Log::sceNet, SCE_HTTP_ERROR_INVALID_URL, "invalid url");
|
||||
|
||||
// TODO: Here we should look up baseURL.Host() in DNS.
|
||||
|
||||
httpObjects.emplace_back(std::make_shared<HTTPConnection>(templateID, baseURL.Host().c_str(), baseURL.Protocol().c_str(), baseURL.Port(), enableKeepalive));
|
||||
int retid = (int)httpObjects.size();
|
||||
return hleLogDebug(Log::sceNet, retid);
|
||||
|
||||
Reference in new issue
Block a user