From 576f430d84a389e010a6f4d9dd673fc784315865 Mon Sep 17 00:00:00 2001 From: travisladuke Date: Thu, 14 Mar 2024 14:13:03 -0700 Subject: [PATCH] Revert "test" This reverts commit 0c194cb68b1aa614bf7c287cae252a169b19c867. --- ext/cpp-httplib/httplib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/cpp-httplib/httplib.h b/ext/cpp-httplib/httplib.h index ace8c5740b..dfdd260ab3 100644 --- a/ext/cpp-httplib/httplib.h +++ b/ext/cpp-httplib/httplib.h @@ -3163,7 +3163,7 @@ socket_t create_socket(const std::string &host, const std::string &ip, int port, if (socket_options) { socket_options(sock); } if (rp->ai_family == AF_INET6) { - auto no = 1; + auto no = 0; #ifdef _WIN32 setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, reinterpret_cast(&no), sizeof(no));