Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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
Replies are listed 'Best First'.
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 contemplating the Monastery: (4)
As of 2015-08-29 08:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (343 votes), past polls