]
Ron Sigal updated JBREM-774:
----------------------------
Fix Version/s: 2.4.0.Beta1 (Pinto)
(was: 2.4.0.CR1 (Pinto))
BisocketClientInvoker.replaceControlSocket() and handleDisconnect()
should close control socket
-----------------------------------------------------------------------------------------------
Key: JBREM-774
URL:
http://jira.jboss.com/jira/browse/JBREM-774
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 2.4.0.Beta1 (Pinto), 2.2.0.SP4, 2.2.1.GA
Reporter: Ron Sigal
Assigned To: Ron Sigal
Fix For: 2.4.0.Beta1 (Pinto), 2.2.2.GA
If cpu overload or network congestion causes a control connection PING to get delayed,
the client side
org.jboss.remoting.transport.bisocket.Bisocket.BisocketServerInvoker.ControlMonitorTimerTask
will tell the server side BisocketServerInvoker.SecondaryServerSocketThread to replace the
control socket.
If
org.jboss.remoting.transport.bisocket.Bisocket.BisocketClientInvoker.replaceControlSocket()
does not close the old control socket, and if the client is still alive, the client side
BisocketServerInvoker.ControlConnectionThread will be blocked trying to read from an old
control connection, which is no longer in use on the server side.
Also, BisocketClientInvoker.handleDisconnect() should close the control socket.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: