One further question:

Once the SSL stuff gets figured out, I have one more issue with respect to
long running connections - we want to use a long running connection over
HTTPS, and send/receive messages asynchronously. In other words, the client
is not always initiating the request (although it will initiate the
connection at the start) so we can push data in either direction. We own the
client and server, so we intend to use the client-initiated HTTPS connection
as a two way chat.

I am currently using a StreamIoHandler to handle the connection, but the
problem now is that there will be one thread per socket connection, unless I
layer NIO stuff on top of this and use a selector instead of blocking on
read or polling.

I'm happy to do that, but it seems that I might be missing something here -
there may be a mina-centric way of doing something like this. 

I hope this makes sense - in a nutshell, we want HTTPS connection initiated
from the client (to get out through the firewall) and then set up a
long-running connection and push encrypted data back and forth.

Any help/guidance, as always, appreciated muchly.

Thanks.

parki...


-- 
View this message in context: 
http://www.nabble.com/Help-with-getting-https-running-tf4781472s16868.html#a13715818
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.

Reply via email to