Subject: | bug-POE-Component-Client-Keepalive |
Date: | Tue, 16 Jun 2009 19:34:14 +0300 |
To: | bug-POE-Component-Client-Keepalive [...] rt.cpan.org |
From: | Ilia Kandrashou <loofort [...] gmail.com> |
When POE::Component::Client::Keepalive fires ka_request_timeout event
for request with no wheel (request is in SF_QUEUE), then it executes
respond_with_error, but doesn’t remove request from SF_QUEUE.
So SF_QUEUE never become empty.
And when new request executes _ka_add_to_queue, and check if SF_QUEUE
is not empty then do nothing. And if currently no active connection
than ka_wake_up never be executed.
From this moment all new request via POE::Component::Client::HTTP
returns timeouted response.