develooper Front page | perl.libwww | Postings from March 2014

Re: Timeout in LWP::Protocol::http

Thread Previous
Michiel Beijen
March 7, 2014 10:56
Re: Timeout in LWP::Protocol::http
Message ID:
Hi Vladimir,

On Fri, Mar 7, 2014 at 8:48 AM, Vladimir Levijev
<> wrote:
> We need to specify io_socket_timeout option (10 seconds is too small
> for us) in /usr/share/perl5/LWP/Protocol/ . Do you know of any
> way to accomplish that?

It's easy:

my $ua = new LWP::UserAgent;


Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About