Re: Proxy filter

2007-06-06 Thread Niklas Therning
Chris Audley wrote: > I'd like to implement some proxy filters for MINA, filters that would > handle the details of opening a connection through a web or socks proxy. > The problem is, MINA filters have no influence over how the session is > opened. How can MINA be extended to give filters the opp

Re: My Mina server got hung!

2007-06-06 Thread peter royal
On Jun 6, 2007, at 6:44 PM, Paul Chen wrote: [2] When the traffic ramped up sharply lately, I begin to see it hung and I had to bounce it to revive it. Do a thread dump next time this happens. We can see what's going on from that. -pete -- [EMAIL PROTECTED] - http://fotap.org/~osi s

My Mina server got hung!

2007-06-06 Thread Paul Chen
Hi, folks, It took me by surprise that one of our production Mina-based server running on Solaris10 hung, here is the story: [1] The Mina-based server was good in production for few months with light traffic, taking requests from all over the Internet. [2] When the traffic ramped up sharply lat

Proxy filter

2007-06-06 Thread Chris Audley
I'd like to implement some proxy filters for MINA, filters that would handle the details of opening a connection through a web or socks proxy. The problem is, MINA filters have no influence over how the session is opened. How can MINA be extended to give filters the opportunity to redirect a sessi

Re : Problems running server

2007-06-06 Thread Dupont jean
Your problem is simple : acceptor.bind(new InetSocketAddress("localhost", 7070), new ReverseEchoServerHandler(), cfg); is non blocking so when it finishes it then executes acceptor.unbindAll(); instruction and your server is shutdown try adding the following line while (true) ; and you shoul