Stas Bekman wrote:

>Randy Kobes wrote:
>  
>
>>On Wed, 26 May 2004, Stas Bekman wrote:
>>
>>
>>    
>>
>>>Steve Hay wrote:
>>>
>>>      
>>>
>>>>Using the current CVS w/ Apache 2.0.49 and Perl 5.8.4 I find that
>>>>error/runtime.t hangs.
>>>>
>>>>Any ideas?
>>>>        
>>>>
>>>Yup, most likely it hangs in response/TestError/runtime.pm:
>>>
>>># fails because of the timeout set earlier in the handler
>>>sub mp_error {
>>>    my $socket = shift;
>>>    $socket->recv(SIZE);
>>>}
>>>
>>>when it reads from the socket. That means that sockets timeout setting or
>>>reading is broken on windows in APR.
>>>
>>>The handler starts with:
>>>
>>>$socket->timeout_set(1);
>>>
>>>which sets the timeout to 1 micro second, ensuring that
>>>$socket->recv() should fail and return almost immediately.
>>>Well 1 microsecond later :)
>>>      
>>>
>>I may have missed some of this thread, and the related
>>apr-dev discussion (we're going through a particularly nasty
>>time at work), but I found that the t/error/runtime tests
>>all pass on Win32 with
>>   $socket->timeout_set(0);
>>    
>>
>
>Great! I've committed that change. Thanks Randy!
>
>Any other remaining failures with the current cvs?
>
Thanks, Randy!  That does indeed fix it on Win32.

I now have "All tests successful" again, including ModPerl-Registry :)

- Steve



------------------------------------------------
Radan Computational Ltd.

The information contained in this message and any files transmitted with it are 
confidential and intended for the addressee(s) only.  If you have received this 
message in error or there are any problems, please notify the sender immediately.  The 
unauthorized use, disclosure, copying or alteration of this message is strictly 
forbidden.  Note that any views or opinions presented in this email are solely those 
of the author and do not necessarily represent those of Radan Computational Ltd.  The 
recipient(s) of this message should check it and any attached files for viruses: Radan 
Computational will accept no liability for any damage caused by any virus transmitted 
by this email.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to