in reply to Hang when downloading with LWP::Useragent and Crypt::SSLeay (Windows)

use WWW::Mechanize 1.60; my $mech = WWW::Mechanize->new(qw' autocheck 1 '); $mech->get( $uri, ':content_file' => $tempfile );
  • Comment on Re: Hang when downloading with LWP::Useragent and Crypt::SSLeay (Windows)
  • Download Code

Replies are listed 'Best First'.
Re^2: Hang when downloading with LWP::Useragent and Crypt::SSLeay (Windows)
by knirirr (Scribe) on Mar 24, 2010 at 20:28 UTC
    Thanks - if that works with Crypt::SSLeay as well then I'll give it a try tomorrow, unless any fixes for LWP::Useragent crop up before then.
      WWW::Mechanize is a subclass of LWP::UserAgent , the get method works the same way.

        Thanks - changing to WWW::Mechanize fixed it on my machine. But, some users have still reported problems with hanging. In particular, the hang is more likely (though not guaranteed) if they minimise the window in which the download is running.