Allow passing in a custom resolver to HTTPRequest and Connection. This inverts the bad dependency.

This commit is contained in:
Henrik Rydgård committed 2025-08-06 00:16:34 +02:00
1 parent 820d83b2c0
commit 05b82d6ce4
16 files changed
+87 -76

No files matched your search

+1 -1
View File
@@ -89,7 +89,7 @@ static int NetResolver_StartNtoA(NetResolver *resolver, u32 hostnamePtr, u32 inA
std::string hostname = std::string(safe_string(Memory::GetCharPointer(hostnamePtr)));
// Process hostname with infra-DNS
std::string processedHostname = net::ProcessHostnameWithInfraDNS(hostname);
std::string processedHostname = ProcessHostnameWithInfraDNS(hostname);
// Flag resolver as in-progress - not relevant for sync functions but potentially relevant for async
resolver->isRunning = true;