Re: Making Linkchecker working parallel

Le mercredi 31 août 2005 à 19:06 +0900, olivier Thereaux a écrit :
> What we have in CVS now is an (almost) functional solution based on
> wait(). Almost, because:
>   $ua->register($request);
>   my $entries = $ua->wait();
> Works well as long as you don't get a 401. 
> Except that this doesn't work in the case of a 401.

Actually, I got version 4.23 to work with the simple document attached. 

>  Not sure why (a bug in LWP::Parallel::??) but $response->request is
> undefined in that case.

I've actually had a case of undefined $response->request when trying
4.23 on the home page, but I haven't seen which URI triggered that - I
haven't looked very hard to be honest..

>  So we're pretty much stuck with using on_return anyway. 

Or to fix the bug in LWP::Parallel if we can identify it, no?

Dom
-- 
Dominique Hazaël-Massieux - http://www.w3.org/People/Dom/
W3C/ERCIM
mailto:dom@w3.org

Received on Wednesday, 31 August 2005 13:02:53 UTC