Prefer IO::Socket::INET6 over IO::Socket::IP
authorRichard Levitte <levitte@openssl.org>
Sun, 14 Feb 2016 06:10:38 +0000 (07:10 +0100)
committerRichard Levitte <levitte@openssl.org>
Sun, 14 Feb 2016 06:39:23 +0000 (07:39 +0100)
commit98ac876f2ded90de8c9d9bc9d7b33a965f7d9f9a
tree6f63f1ae520993ffb8d3d7d3392c4e8ede7c39ba
parentc8d1c9b06768bab700a3364639614202842eea42
Prefer IO::Socket::INET6 over IO::Socket::IP

While IO::Socket::IP is a core perl module (since Perl v5.19.8, or so
says corelist), IO::Socket::INET6 has been around longer, is said to
be more widely deployed, and most importantly, seems to have less bugs
hitting us.  We therefore prefer IO::Socket::INET6, and only fall back
to IO::Socket::IP if the former doesn't exist on the local system.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
util/TLSProxy/Proxy.pm