Hi All,
        Hope everyone is doing fine. I am having a query. I am building
client and server on top of (Apache MINA  + AysnchWeb). I was testing
connection timeout feature which i needed much in the project. I tested this
MINA based client against the Jetty 8 server....connection doesn't timeout
till the configured time expires. But, when i tested the same against the
MINA based server...which internally uses NioSocketAcceptor internally.....i
found some thing strange which i want to clarify from community guys. I
tried to even set the keep-alive flag to true through the call, *
acceptor.getSessionConfig().setKeepAlive(true);*  It seemslike it has no
effect.

Can anyone tell me how can we ask the NioSocketAcceptor to wait till
configured timeout. Right now, irrespective of what changes you make, the
connection is CLOSED exactly after 5 mins...

I am using MINA 2.0.3 version  + latest checkout of asyncweb framework to
build client and server.


Any kind of positive help will be appreciated.

-- 
Regards,
Adarsh
9972523214

Reply via email to