答复: Asynchronous IO in SSL
lixiangfeng at infosec.com.cn
Thu Apr 12 02:54:52 PDT 2012
Thanks your reply.
I find some description in this PPT,it can help me to write ssl/tls implements use sslengine and aio.
Is there some exsample and test code can show me how to use sslengine with aio? I think ,oracle (or openjdk group should test their api use java code. It is useable to me.
Is their anyone can help me?
发件人: Xuelei Fan [mailto:Xuelei.Fan at Oracle.Com]
发送时间: 2012年3月31日 16:49
主题: Re: Asynchronous IO in SSL
On Mar 31, 2012, at 4:26 PM, lixiangfeng <lixiangfeng at infosec.com.cn> wrote:
I use JDK7,use SSL ServerSocket to accept a SSL Socket Connection,Can I use Asynchronous <http://docs.oracle.com/javase/7/docs/api/java/nio/channels/AsynchronousServerSocketChannel.html#AsynchronousServerSocketChannel%28java.nio.channels.spi.AsynchronousChannelProvider%29> IO?
I am afraid that It is not the normal approach to use asynchronous IO. The server socket may be the bottleneck. You may be interested in the blog: http://sim.ivi.co/2011/06/java-approach-to-lightweight-servers.html, which talked about how to use NIO2 and SSL together.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the security-dev