Re: LWP timeout problem

Ask Bjoern Hansen (ask@valueclick.com)
Fri, 22 Oct 1999 01:16:48 -0700 (PDT)


[...]
> Perhaps my code is missing some vital parameter?

Hi Sara,
 
>     ...
>     my $agent = new LWP::Parallel::UserAgent;
>     $agent->agent($agent_name);
>     $agent->env_proxy;
>     $agent->max_hosts($max_hosts);
>     $agent->max_req($max_connections_per_domain);

try adding 

$agent->timeout(10);

around here.


  - ask

-- 
ask bjoern hansen - <http://www.netcetera.dk/~ask/>
more than 50M impressions per day, <http://valueclick.com>