Subject: | crashes when fetching pages from specific domain |
Hi,
Using POE::Component::Client::HTTP v0.949 and Perl v5.16.3 on CentOS 7.1.1503.
The following code crashes when it tries to fetch pages from webmasterworld.com
----------------------------------------------
use HTTP::Request;
use POE qw(Component::Client::HTTP);
POE::Component::Client::HTTP->spawn(Alias => 'ua');
POE::Session->create(inline_states => {
_start => sub { $_[KERNEL]->yield('process_feed') },
process_feed => \&process_feed,
process_response => \&process_response } );
sub process_feed {
my $request =
HTTP::Request->new(GET => 'https://www.webmasterworld.com/');
$_[KERNEL]->post('ua', 'request', 'process_response', $request );
}
sub process_response { return }
POE::Kernel->run();
-----------------------------------------------
results in the following error for me,
-----------------------------------------------
=== 5118 === !!! Kernel has 1 child process(es).
=== 5118 === !!! At least one child process is still running when POE::Kernel->run() is ready to return.
=== 5118 === !!! Be sure to use sig_child() to reap child processes.
=== 5118 === !!! In extreme cases, failure to reap child processes has
=== 5118 === !!! resulted in a slow 'fork bomb' that has halted systems.
addr is not a string at /usr/share/perl5/vendor_perl/POE/Component/Resolver.pm line 511.
-----------------------------------------------
Other domains work fine for me.
Thank you for any response!