Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

POE::Component::Client::Keepalive timeout bug

by 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.
  • Comment on POE::Component::Client::Keepalive timeout bug

Replies are listed 'Best First'.
Re: POE::Component::Client::Keepalive timeout bug
by rcaputo (Chaplain) on Jun 16, 2009 at 16:14 UTC
Re: POE::Component::Client::Keepalive timeout bug
by nuclon (Acolyte) on Jun 24, 2009 at 19:21 UTC
    what kind of timeout message do you have? "connect error 60: Operation timed out"?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://772059]
Approved by AnomalousMonk
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-24 06:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found