[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: ReplicateConnectionFailureTest failure on CI server

timfox do-not-reply at jboss.com
Fri May 1 08:08:31 EDT 2009


Jeff, I'm a bit confused about your changes for 1421:


  | RemotingServiceImpl:
  | 
  | public void connectionDestroyed(final Object connectionID)
  |    {  
  |       // We DO NOT destroy the connection when this event is received.
  |       // Instead, the connection will be cleaned up when the connection TTL
  |       // is hit in FailedConnectionsTask.
  |    }
  | 

Does this mean that if I create a core session, close it properly and exit, the server side remoting connection won't be closed until TTL?

If so, that's not correct.

If the client closes it's connections properly then the server side resources must be immediately cleared up.

The server side connection should only not be closed immediately if the client exits without closing it's stuff properly.

Otherwise you'll end up with resource build up on the server, and a potential for DoS attack by a client by simple creating and closing connections quickly.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227990#4227990

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227990



More information about the jboss-dev-forums mailing list