in reply to Re: Problems trying to timeout LWP requests
in thread Problems trying to timeout LWP requests

Re: LWP::UserAgent-timeout() - is it working? suggests that timeout() doesn't do exactly what you think. You'll also run into problems with slow DNS lookups and hosts that take a long time to connect to.

For more information, type LWP timeout into Super Search.

Replies are listed 'Best First'.
Re: Re: Re: Problems trying to timeout LWP requests
by Anonymous Monk on Feb 06, 2002 at 14:32 UTC
    The request is working and the host is responding okay but for purposes of testing the timeout I have chosen a value sufficiently low that the request should be cancelled anyway.

    I have looked at the results of Super Search and I believe this is a common question to which nobody has been able to give a satisfactory answer.

    I have now emailed Gisle Aas to see if he can throw any light on the question.

    Cheers

    Cheshire Cat