good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
POE::Component::Client::Keepalive timeout bugby loofort (Initiate) |
on Jun 16, 2009 at 15:54 UTC ( [id://772059]=perlquestion: print w/replies, xml ) | Need Help?? |
loofort has asked for the wisdom of the Perl Monks concerning the following question:
There is the issue that I discovered in POE::Component::Client::Keepalive, but not sure if this is a bug or I missed something.
When component 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.
Back to
Seekers of Perl Wisdom
|
|