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
@@ -76,7 +76,7 @@ static ServerStatus RetrieveStatus() {
// relay that address to a mobile device searching for the server.
static bool RegisterServer(int port) {
bool success = false;
http::Client http;
http::Client http(nullptr);
bool cancelled = false;
net::RequestProgress progress(&cancelled);
Buffer theVoid = Buffer::Void();