help with POE::Component::Client::HTTP
Aaron Goodmiller <[email protected]>
| Newsgroups | gmane.comp.lang.perl.poe |
|---|---|
| Message-ID | <[email protected]> |
Hello all,
I am using the POE::Component::Client::HTTP part of POE to call 4 URLs
simultaneously. This works really well, except for the fact that there is
either a 5 second lag or a 43 second lag from the last URL pulled. No
matter what I set the keepalive or timeout too, it is always either 5 or 43
seconds (every once in a while 86 seconds, but that is about 1 out of a
hundred times).
I have tried to use the information from this URL to shut down the session
after the last URL is pulled, but it never works.
http://poe.perl.org/?Poe_faq/how_do_i_force_a_session_to_shut_down
the calls i have tried are :
shutdown(POE::Component::Client::HTTP);
- it says i have too few arguments
shutdown(POE::Component::Client::HTTP::*Kernel*
,POE::Component::Client::HTTP::*Session*);
- nothing happens
shutdown(POE::Component::Client::HTTP::*Kernel*
,POE::Component::Client::HTTP::*Session*,POE::Component::Client::HTTP::*Heap
*);
- it says i have too many arguements
And I have used the code from example 2 on the following page for my URL
pulls:
http://poe.perl.org/?POE_Cookbook/Web_Client
Any thoughts on why this could be happening? The software works superbly
aside from this one glitch and I would hate to have to look yet again for
another alternative to LWP.
Thanks for any help!
Aaron