How are things coming with the SSL support and MINA? I'm having some issues securing the data connection in passive mode with the old code. The SSL handshaking works fine on the control connection, and the server seems to respond as expected when the client sends the PROT P command to request that the data connection also be secured. However, when the server tries to send anything to the client on the data connection, as soon as the server closes the data connection the client gets an SSL handshaking error. My theory is that the handshake is not happening immediately when the client makes the data connection to the server, so when the server sends the data the client mistakes it for the initiation of the handshake.
Possibly this is a case of user error, but before I get too deep into debugging it, I thought I should ask how things are going with MINA and SSL. Clint Foster On 1/11/07 3:56 PM, "Niklas Gustavsson" <[EMAIL PROTECTED]> wrote: > Niklas Gustavsson wrote: >> I will hopefully commit the code in the next couple of days. It will not >> be fully stable when I do but I need the help of you all to test it out. > > > Alright, the code is commited. However, the MINA listener is still not > on by default due to problems with the SSL support and a race condition > I'm getting. > > If you want to play with it, just change the following line in > FtpServer.java: > listeners.add(new IOListener(serverContext)); > > to: > listeners.add(new MinaListener(serverContext)); > > /niklas >
