users@grizzly.java.net

Re: Connection close during SSL handshake could cause hang

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Thu, 15 Apr 2010 14:19:26 +0200

Hi Bo,

thank you very much! The patch is applied.

BTW, AttributeHolder in 2.0 are thread-safe, so there is no need for
volatile read/writes.

Thanks.

WBR,
Alexey.

On Apr 14, 2010, at 22:37 , Bo Li wrote:

> Hi Alexey
>
> I found a case where if the connection was closed during a SSL
> handshake on the client side, the completion handler passed into
> SSLFilter.handshake is never notified of the failure. This caused
> our app to hang during testing. Please see the attached patch for a
> proposed fix. Let me know what you think.
>
> Thanks!
> Bo
>
> <
> SSL_handshake
> .patch
> >---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net