]> git.proxmox.com Git - pve-xtermjs.git/blobdiff - src/PVE/CLI/termproxy.pm
allow xtermjs on ipv6 only host
[pve-xtermjs.git] / src / PVE / CLI / termproxy.pm
index 010f1fea001d3697fd7eec203e8f6e682b86a593..915bbb0cf9c7c2ae1fdbeb46bfe6fd3d3d08fb06 100644 (file)
@@ -14,9 +14,14 @@ use base qw(PVE::CLIHandler);
 
 use constant MAX_QUEUE_LEN => 16*1024;
 
+
 sub verify_ticket {
     my ($ticket, $user, $path, $perm) = @_;
 
+    local @LWP::Protocol::http::EXTRA_SOCK_OPTS = (
+       GetAddrInfoFlags => 0,
+    );
+
     my $ua = LWP::UserAgent->new();
 
     my $params = {