RE: LWP::UserAgent hangs on a hung http server

[email protected] (Meir Guttman) Sat, 08 Dec 2012 22:33:16 +0200
Newsgroups perl.libwww
Message-ID <!&!AAAAAAAAAAAYAAAAAAAAAKC25OsDcMdGneFIQhy+Pc3CgAAAEAAAAJlrnKUx1T5OtNH6OQboe4MBAAAAAA==@guttman.co.il>

-----Original Message-----
From: Adam "Sjøgren" [mailto:[email protected]] 
Sent: שבת 08 דצמבר 2012 22:25
To: [email protected]
Subject: Re: LWP::UserAgent hangs on a hung http server

On Sat, 08 Dec 2012 22:10:06 +0200, Meir wrote:

> > For as long as I waited. Twenty minutes even.
> 
> Odd.

Yes indeed! Odd! It must be something in my environment.

The problem is that LWP::Protocol::http is so illegible to me that I can't trace it beyond what I did.

> 
> 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.
>