From 5caf7b283d2b2eea6cbc6d48b695ceb8574d8039 Mon Sep 17 00:00:00 2001 From: Alain Emilia Anna Zscheile Date: Sat, 20 Jul 2024 07:51:05 +0200 Subject: [PATCH] hydra-notify: enable IPv6 support HTTP::Server::PSGI uses the `ipv6` flag to decide between `IO::Socket::INET` and `IO::Socket::IP` (https://metacpan.org/dist/Plack/source/lib/HTTP/Server/PSGI.pm#L80-84) and (from IO/Socket/IP.pm): > C - Family-neutral IP socket supporting both IPv4 and IPv6 so setting the `ipv6` flag makes it support both IPv4 and IPv6. Fixes #1394 --- src/script/hydra-notify | 1 + 1 file changed, 1 insertion(+) diff --git a/src/script/hydra-notify b/src/script/hydra-notify index 1e666bf76..6b053fab2 100755 --- a/src/script/hydra-notify +++ b/src/script/hydra-notify @@ -63,6 +63,7 @@ if (defined($promCfg)) { host => $promCfg->{"listen_address"}, port => $promCfg->{"port"}, timeout => 1, + ipv6 => 1, ); $server->run($prom->psgi);