on 10/7/03 9:28 AM, [EMAIL PROTECTED] purportedly said:

>> Can't call method "request" on an undefined value at
>> /usr/lib/perl5/site_perl/5.8.0/LWP/UserAgent.pm line 362.
>> 
>> Maybe, although eval is used $response is still undef? The following patch
>> might help here, but we are not sure, because the problem only arises under
>> special high load conditions.
> 
> You would have to make the test '!defined($response)' instead of
> 'undef($reponse)' to make it work, but I will not apply this fix to my
> source as it only hides the real problem.  But I can't see how this
> can happen.  It must mean that $protocol->request() sometimes return
> undef and it is not allowed to do that.  Could you perhaps add some
> log information that print out what request was tried when this
> happen?  There might be some pattern to it.

I used to have a similar problem happen, although I don't recall the exact
error message. In my case, it had to do with passing a partial or invalid
URL, i.e.
    GET => '/index.html'

Don't know if this would help at all.

Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"

Reply via email to