Trustin Lee wrote:
SocketAcceptor a = new NioSocketAcceptor(); after: SocketAcceptor a = new AprSocketAcceptor();
Wow, that's cool!
You might encounter segfault due to a bug of the current implementation because we are using tomcat-native bridge for APR 1.2. Any feed back is welcome!
The problem is probably with shutting down the APR library. Tomcat-native is very thin JNI layer for APR, so some precautions must be taken, like implementing shutdown hooks. I'll sweep the code and see how can I help.
I will keep working on implementing datagram side too.
You might wish to try the SSL via OpenSSL (multiple times faster then JSSE) Regards, Mladen
