infra dns for http requests

This commit is contained in:
trigger committed 2025-07-27 17:47:36 -07:00
1 parent cab8533bda
commit 787cd9b119
5 files changed
+63 -63

No files matched your search

-2
View File
@@ -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);