Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: LWP::UserAgent lengthy download

by jonnyfolk (Vicar)
on Feb 20, 2010 at 14:21 UTC ( #824384=note: print w/ replies, xml ) Need Help??


in reply to Re^3: LWP::UserAgent lengthy download
in thread LWP::UserAgent lengthy download

Hi, thanks for your response. I'm trying to understand what is happening. From what you are saying contrary to viewing from a browser, it is unlikely that the delay is being caused by having to wait for images to download as there is no specific request - or is there?

$resp = $ua->get("http://mysite.net.net/etc;


Comment on Re^4: LWP::UserAgent lengthy download
Download Code
Re^5: LWP::UserAgent lengthy download
by Corion (Pope) on Feb 20, 2010 at 14:51 UTC

    Maybe now is a good moment to learn about HTTP, and the request-response mechanism?

      Hi, I thank you for your persistence and patience!!

      I have been through the protocol you sent and and set environment variable $ENV{PERL_LWP_USE_HTTP_10} = 1; This seems to have made a difference - I am no longer getting timeouts.

      I wanted to check if this is a right/wrong move and if there are other thing s I might try to speed up the delivery of results.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://824384]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2014-10-26 07:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (152 votes), past polls