Thanks for the quick response, Mladen. :) On Nov 21, 2007 6:40 PM, Mladen Turk <[EMAIL PROTECTED]> wrote: > 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.
Yes, I found segfault happens when I try to close socket more than once. :) > I'll sweep the code and see how can I help. It would be really nice if you could review my implementation. > You might wish to try the SSL via OpenSSL > (multiple times faster then JSSE) Sounds like a very good idea. Let me try to do that when I have some free time. I'm somewhat fed up with SslFilter and Java SSLEngine which burns my brain for now. :D Cheers, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6
