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

This commit is contained in:
Henrik Rydgård
2025-08-05 23:57:28 +02:00
parent 820d83b2c0
commit 05b82d6ce4
16 changed files with 87 additions and 76 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ std::string RemoteSubdir() {
}
bool RemoteISOConnectScreen::FindServer(std::string &resultHost, int &resultPort) {
http::Client http;
http::Client http(nullptr);
Buffer result;
int code = 500;
bool hadTimeouts = false;