Re: LWP::UserAgent hangs on a hung http server
[email protected] (Adam Sjøgren) Sat, 08 Dec 2012 21:24:59 +0100
| Newsgroups | gmane.comp.lang.perl.modules.lwp |
|---|---|
| Organization | koldfront - analysis & revolution, Copenhagen, Denmark |
| Message-ID | <[email protected]> |
On Sat, 08 Dec 2012 22:10:06 +0200, Meir wrote:
> For as long as I waited. Twenty minutes even.
Odd.
Here is the output of a run with timeout(10):
$ date; perl hep.pl; date
Sat Dec 8 21:20:20 CET 2012
URL:http://www.ta[...]
Error POSTing http://www.ta[...]
Sat Dec 8 21:20:32 CET 2012
$
This is with:
$ perl --version | grep version
This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi
$ pmvers LWP::UserAgent
6.04
$ pmvers WWW::Mechanize
1.71
$
On a Debian sid machine.
I get the same thing on a Debian squeeze (stable) machine:
$ date; perl hep.pl; date
Sat Dec 8 21:21:27 CET 2012
URL:http://www.ta[...]
Error POSTing http://www.ta[...]
Sat Dec 8 21:21:40 CET 2012
$ perl --version | grep built
This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi
$ pmvers LWP::UserAgent
5.835
$ pmvers WWW::Mechanize
1.64
$
Best regards,
Adam
--
"And counterfeiting is just one of it's many uses Adam Sjøgren
around the home!" - Calvin explaining the [email protected]
modified transmogrifier.