http://www.perlmonks.org?node_id=824384


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.