]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix use of IO::Socket::IP on windows 2025
authorNeil Horman <nhorman@openssl.org>
Fri, 6 Jun 2025 00:57:35 +0000 (20:57 -0400)
committerTomas Mraz <tomas@openssl.org>
Fri, 6 Jun 2025 07:38:35 +0000 (09:38 +0200)
commita564b793fe399a7bdf8c5de9d60bd18c9e5c75ee
tree2a935cb2e5c65a76e976f5e06e1ff63633858091
parentd171bc3e0d534f97b6f58603dbe27c29d397d894
Fix use of IO::Socket::IP on windows 2025

Apparently IO::Socket::IP has several odd behaviors on windows 2025,
notably indicating that AF_INET6 isn't a supported family when it
clearly is.

Follow the pattern in determinig the haveIPV6 variable in Proxy.pm, and
record if we determine IPv6 availablity with the IP class or the INET6
class and use the same method when testing port binding

Fixes project/#1213

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Yang <kaishen.yy@antfin.com>
(Merged from https://github.com/openssl/openssl/pull/27780)

(cherry picked from commit ae404a9b3bd052963b76434bcc97757d1d6d502e)
util/perl/TLSProxy/Proxy.pm