You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Trustin Lee <tr...@gmail.com> on 2005/10/19 20:53:26 UTC

[mina] Best way to initiate TLS closure (close_notify)?

Hi,

I'm trying to implement TLS closure in SSLFilter now. Here's my idea on the
API usage:

IoSession session = ...

SSLFilter sslFilter = ( SSLFilter ) session.getFilterChain().get( "SSL" );
sslFilter.notifyClose( session );

It would be really great if anyone can give me the better idea.

Thanks in advance,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/