We need to keep Unix-socket-only httpd instances working
without Socket6. This fixes t/httpd-unix.t with Socket6
uninstalled.
# (perl-modules-5.24 in Debian)
# SpamAssassin and Net::Server use Socket6, so it may be installed
- # on our system, already:
- eval { require Socket6 } or return ('???-Socket6-missing', 0);
+ # on our system, already (otherwise die):
+ require Socket6;
my ($port, $host) = Socket6::unpack_sockaddr_in6($addr);
$host = Socket6::inet_ntop(Socket6::AF_INET6(), $host);