From b2822b68614aaf86001bf767fba5f47ff48e970a Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Sun, 14 Dec 2025 04:43:04 +0100 Subject: [PATCH] Enable IPv6 usage in curls resolve code (#11639) * Enable IPv6 usage in curls resolve code Before this change OrcaSlicer would fail to resolve the IPv6 addresses of printers when trying to interact with them via HTTP. For context: I'm running my Klipper based printers with only IPv6 addresses being assigned to them. That works fine for everything (including other slicers such as prusa-slic3r). A few years ago I did debug this and figured that it came down to the single line in the code base that this commit removes. I've since patched every single OrcaSlicer version with this change and never noticed a downside. It should be fine to remove the restriction. --- src/slic3r/Utils/Http.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/slic3r/Utils/Http.cpp b/src/slic3r/Utils/Http.cpp index bcb9dda915..e10115b1f7 100644 --- a/src/slic3r/Utils/Http.cpp +++ b/src/slic3r/Utils/Http.cpp @@ -189,7 +189,6 @@ Http::priv::priv(const std::string &url) #ifdef __WINDOWS__ ::curl_easy_setopt(curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_MAX_TLSv1_2); #endif - ::curl_easy_setopt(curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4); ::curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); ::curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);