Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: LWP::UserAgent lengthy download

by jonnyfolk (Vicar)
on Feb 20, 2010 at 14:21 UTC ( [id://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;

Replies are listed 'Best First'.
Re^5: LWP::UserAgent lengthy download
by Corion (Patriarch) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://824384]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-23 09:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found