mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-24 00:28:38 -07:00
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.
This commit is contained in:
parent
7ec3d85a02
commit
b2822b6861
1 changed files with 0 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue