Skip to content

Commit

Permalink
Revert "test"
Browse files Browse the repository at this point in the history
This reverts commit 0c194cb.
  • Loading branch information
laduke committed Mar 14, 2024
1 parent 231dd82 commit 576f430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/cpp-httplib/httplib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<const char *>(&no), sizeof(no));
Expand Down

0 comments on commit 576f430

Please sign in to comment.