Hi Scott,

On 4/10/07, Scott Peters <[EMAIL PROTECTED]> wrote:
Hello all,

I'm writing up a connector framework to use as the back end for our test
tools.  I have been able to get non-SSL connections to work with up to
10k (20k server+client).  The problem is when I try to use SSL.

Glad to hear that you successfully implemented your network
application using MINA.

I believe the problem is a race condition since it does not seem to
reproduce itself the same every time and slight innocuous code changes
can seem to effect if it works or not or even just running the same code
multiple times produces different results.

1. When trying a disconnect/reconnect test. It locks up about 20% of the
time upon the next attempt to send a message after a reconnect.
2. When writing out to the socket on both ends during sessionOpen(...)
the connection just hangs and waiting on the write never returns.
Debugging into the MINA layers show that the SSL handshake is taking
place but then it just stops for some reason upon attempting to write to
the session.

There's known deadlock problem with SSLFilter with MINA 1.0.2.  Could
you download 1.0.3-SNAPSHOT and try again?  FYI, 1.0.3 will be
released this week.

http://people.apache.org/repo/m2-snapshot-repository/org/apache/mina/

HTH,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6

Reply via email to