Hi Kerekes,

On Jan 16, 2008 12:21 AM, Kerekes András <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> after checking JIRA, I found this:
>
> https://issues.apache.org/jira/browse/DIRMINA-272
>
> Which was closed with the following note:
> "It's not actually a bug. An SSLException can be sometimes thrown while
> destroying the session if the connection was closed abnormally. You can
> simply ignore that exception. That's why I logged that message in DEBUG
> level."
>
> So I can ignore this exception. But for me it still occurs on every call
> to session.close(), not only sometimes.

It's probably because the remote peer is closing the connection
immediately not sending the last close_notify.  Actually sending
close_notify message is not madatory in SSL, so it's OK IMO.  But as
you pointed out, it's somewhat annoying.  I don't have clear solution
for this for now.  Any patch is welcome.

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

Reply via email to