Re: [xSocket-develop] MultiplexedConnection with SSL
Status: Inactive
Brought to you by:
grro
|
From: Gregor R. <gre...@gm...> - 2010-04-15 04:11:21
|
Hi, SSL is supported for the physical connection only. This means running pipelines based on the same physical connection in different mode does not work -> pipeline A plain, pipeline B secured. Please see the code example http://xsocket.svn.sourceforge.net/viewvc/xsocket/xsocket/multiplexed/trunk/src/test/java/org/xsocket/connection/multiplexed/EchoExampleTest.java?view=markup for a secured multiplexed connection. Gregor ----- Original Message ----- From: 李成旭 Sent: 04/15/10 04:49 AM To: xso...@li... Subject: [xSocket-develop] MultiplexedConnection with SSL Really thanks for xSocket. I’m using MultiplexedConnection with SSL. [CLIENT] nonBlockSocket = new NonBlockingConnection(host, port, sslCtx, true); [SERVER] Server tServer = new Server(serverConfig.server_port, adapter, sslCtx, true); I thought my socket channel is already secured. But not. Actually socket send plain text to server (Of course Server also listen secured mode). How can I apply secured channel on MultiplexedConnection. I read mailing-list forum. But couldn’t found about it. Also couldn’t find MultiplxedSocket with ssl sample code and test source. Is it unsupported ? If so, this code should throw exception message. Thnaks. |