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
@@ -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;