]> 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:44 +0000 (09:38 +0200)
commit3222ebe0995af899b26f30e01d2ce5eca0c86d47
tree62cca894ba9e49cf1acd866c1b45157d8415914b
parent0138448fcd909f35eda69f4ed20e65b2d66388b0
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