On 16/05/2011 22:54, Mark Thomas wrote:
> On 16/05/2011 22:47, Filip Hanik - Dev Lists wrote:
>> I take back my -1
>> looking at the javadoc, it defines -1 as infinite.
>>
>> So your commit is correct, but requires an addition
>>
>> -att.awaitReadLatch(readTimeout,TimeUnit.MILLISECONDS);
>>
>> +if (readTimeout<0) {
>> +  att.awaitReadLatch(Long.MAX_VALUE,TimeUnit.MILLISECONDS);
>> +} else {
>> +  att.awaitReadLatch(readTimeout,TimeUnit.MILLISECONDS);
>> +}
> 
> Thanks - I'll get that committed shortly.

Woot. That seems to have fixed a bunch of additional issues I was
seeing. Thanks again.

I'll test this more thoroughly tomorrow.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to