http://qs321.pair.com?node_id=646527


in reply to Re: Testing proxy "health"
in thread Testing proxy "health"

Can you explain to me how you were able to "kill" the running process trying to reach a dead, down, unavailable proxy?

I've tried this, and once I attempt to access content via a down proxy in my array, I have to sit and wait until that proxy times out, before I can try again.

I'm not sure how to capture that "downed" state, kill the process attempting to use that proxy, and then loop across another proxy until I find one that works.

Replies are listed 'Best First'.
Re^2: Testing proxy "health"
by andyford (Curate) on Oct 22, 2007 at 19:38 UTC

    What about just setting a shorter timeout?

    non-Perl: Andy Ford

      Bingo, this is what I did.