答复: Asynchronous IO in SSL
lixiangfeng
lixiangfeng at infosec.com.cn
Thu Apr 12 09:54:52 UTC 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
收件人: lixiangfeng
抄送:
主题: 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.
Xuelei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20120412/790eb55a/attachment.htm>
More information about the security-dev
mailing list