Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Gearman CPAN distribution.

Report information
The Basics
Id: 78710
Status: resolved
Priority: 0/
Queue: Gearman

People
Owner: info [...] maximka.de
Requestors: Melanie.Bernkopf [...] jku.at
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 2.001.001-TRIAL



Subject: No IPv6 connections to Gearmand possible
Date: Wed, 01 Aug 2012 10:45:39 +0200
To: <bug-Gearman [...] rt.cpan.org>
From: "Melanie Bernkopf" <Melanie.Bernkopf [...] jku.at>
Hello, this is not exactly a bug report it is more a proposal of a patch. We have some Servers using geamand. It is a policy that all software we use has to support ipv6. Unfortunatly one of the most important part of Software is using Gearman::Worker and ist was not possible to establish ipv6 connections. I had a look at the code and it was not very hard to solve there need only 6 lines to be changed and one dependency needs to be changed. Attached to this mail you find the patchfile with the changes I propose. Actions taken: change use IO::Socket::INET to use IO::Socket::INET6 add field multihomed open socket with added option: my $sock = IO::Socket::INET6->new(PeerAddr => $ipport, Timeout => 1, Multihomed => 1); After this it was possible to connect using IPv6 as well as IPv4. Best Regards Melanie Bernkopf

Message body is not shown because sender requested not to inline it.

In Gearman-2.001.001-TRIAL was added IPv6 support. https://metacpan.org/release/PALIK/Gearman-2.001.001-TRIAL Your feedback is greatly appreciated.
The issue is solved. I'm going to close it.