On Tue, 24 Sep 2013 18:37:44 +0200, gregor herrmann wrote: > kgb-bot only listens on ipv4. > The problem is in POE::Component::Server::SimpleHTTP. > Cf. https://rt.cpan.org/Public/Bug/Display.html?id=74152 > > (So we can't do anything directly, but still should keep an eye on > the issue. And/or clone/reassign+affects the bug to > libpoe-component-server-simplehttp-perl.)
Just for completeness: script/kgb-bot: POE::Component::Server::SOAP->new( ADDRESS => $KGB::config->{soap}{server_addr}, lib/POE/Component/Server/SOAP.pm: POE::Component::Server::SimpleHTTP->new( 'ADDRESS' => $_[HEAP]->{'ADDRESS'}, lib/POE/Component/Server/SimpleHTTP.pm: my $factory = POE::Wheel::SocketFactory->new( ( $self->address ? ( BindAddress => $self->address ) : () ), lib/POE/Wheel/SocketFactory.pm: =head4 SocketDomain C<SocketDomain> instructs the wheel to create a socket within a particular domain. Supported domains are C<AF_UNIX>, C<AF_INET>, C<AF_INET6>, C<PF_UNIX>, C<PF_INET>, and C<PF_INET6>. If omitted, the socket will be created in the C<AF_INET> domain. So probably adding the domain to POE::Component::Server::SimpleHTTP to pass it on to POE::Wheel::SocketFactory would do the trick. Cheers, gregor -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe `- NP: Flying Pickets: Who's That Girl
signature.asc
Description: Digital Signature