On 06/20/2012 11:13 PM, Mattias Jiderhamn wrote:
> ----- Original Message -----
> Subject: Re: [Resin-interest] JNI timeout on multipart forms in 4.0.28
> Date: Wed, 20 Jun 2012 13:30:26 -0700
> From: Scott Ferguson<f...@caucho.com>
>> Is this an SSL request? I'm duplicating it with OpenSSL, but it's an
>> OpenSSL buffering issue (in combination with Resin's timeouts). It
>> wouldn't affect non-SSL requests.
> You are right, problem only occurs with OpenSSL.

Good. Then I've found it.

> Resin 4.0.25 works fine while 4.0.28 does not, with the same OpenSSL
> version.
> Does Resin 4.0.28 require a newer OpenSSL version than 4.0.25?

No, the issue is socket timeouts and OpenSSL, which is tricky because of 
all the buffering. There were some fixes after 4.0.25 which introduced 
the bug that you found. Basically, it was polling waiting for new data 
when the data was already available in the OpenSSL buffer.

-- Scott

resin-interest mailing list

Reply via email to