From 8fd33e8cbb3aa92f2881b6cdcac5e1672c346c27 Mon Sep 17 00:00:00 2001 From: fantasyzhjk Date: Mon, 21 Jul 2025 19:18:29 +0800 Subject: [PATCH] fix: Bypass proxy for localhost --- include/http.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/http.h b/include/http.h index 0937703a..e3c182dd 100644 --- a/include/http.h +++ b/include/http.h @@ -57,6 +57,7 @@ namespace Http curl_easy_setopt(curl, CURLOPT_WRITEDATA, &response); curl_easy_setopt(curl, CURLOPT_USERAGENT, fmt::format("Millennium/{}", MILLENNIUM_VERSION).c_str()); curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); // Follow redirects + curl_easy_setopt(curl, CURLOPT_NOPROXY, "localhost,127.0.0.1,::1"); // Bypass proxy for localhost while (true) {