I've just checked in the fix for the infinite loop bug you found.

I didn't deploy the snapshot JAR yet, so you will have to build MINA
by yourself.  Please refer to our developer guide on how to build the
latest source code:

http://mina.apache.org/developer-guide.html

Please let me know if it fixes the problem.  If it doesn't, please
provide DEBUG log.

Thanks,
Trustin

On 7/30/07, Trustin Lee <[EMAIL PROTECTED]> wrote:
> Hi James,
>
> On 7/30/07, James Gould <[EMAIL PROTECTED]> wrote:
> >
> > The following is the code snippet within SSLHandler.unwrap() to ensure that
> > handshake tasks are taken care of instead of causing an infinite loop.  Any
> > thoughts or comments?
>
> The handshake status during unwrap() must be NOT_HANDSHAKING.
> Otherwise, it means the connection entered renegotiation.  Did you
> change cipher set or something else after handshake is finished?
>
> Anyway, unwrap doesn't properly handle renegotiation.  Thanks for
> reporting a critical bug!  Let me try to fix the buf and reply to this
> thread again.
>
> Thanks,
> Trustin
> --
> what we call human nature is actually human habit
> --
> http://gleamynode.net/
> --
> PGP Key ID: 0x0255ECA6
>


-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6

Reply via email to