Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the POE-Component-Client-HTTP CPAN distribution.

Report information
The Basics
Id: 27865
Status: resolved
Priority: 0/
Queue: POE-Component-Client-HTTP

Owner: Nobody in particular
Requestors: mix [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: calling shutdown dies instead of exiting cleanly
Date: Sun, 01 Jul 2007 23:55:23 +0200
To: bug-POE-Component-Client-HTTP [...]
From: Anonymous <mix [...]>
Download (untitled) / with headers
text/plain 767b
when i call shutdown (via a a sigint) it dies as often as it succeeds. when it dies, i see one of these two messages: deallocate() requires a request ID at /opt/local/lib/perl5/site_perl/5.8.8/POE/Component/Client/ line 916 Can't use an undefined value as an ARRAY reference at /opt/local/lib/perl5/site_perl/5.8.8/POE/Component/Client/ line 440. here is my shutdown event: sub shutdown { my ($kernel, $heap) = @_[ KERNEL, HEAP ]; $kernel->alarm_remove_all; $kernel->post( ua => 'shutdown' ); # used to stop creating requests $heap->{is_shutdown} = 1; $kernel->post( dbi => commit => { event => '' } ); $kernel->post( dbi => 'shutdown' ); $kernel->select_read( $heap->{aio_fh} ); $kernel->sig_handled; }
Download (untitled) / with headers
text/plain 361b
I'm about to commit substantial fixes to POE::Component::Client::Keepalive and POE::Component::Client::HTTP that I believe will resolve your issue. If it doesn't fix your problem, could you reopen this ticket with a small standalone test case? Something suitable for POE::Component::Client::HTTP's regression tests would be ideal. Thank you for your patence.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to