]
Ron Sigal commented on JBREM-1329:
----------------------------------
ConnectionValidator gets value of clientLeasePeriod at creation, instead of reference to a
Client.
Changes committed to
Reused ConnectionValidator can hold a reference to a disconnected
Client
------------------------------------------------------------------------
Key: JBREM-1329
URL:
https://issues.jboss.org/browse/JBREM-1329
Project: JBoss Remoting
Issue Type: Bug
Affects Versions: 2.5.4.SP5
Reporter: Ron Sigal
Assignee: Ron Sigal
Fix For: 2.5.4.SP6
Instances of org.jboss.remoting.ConnectionValidator hold a reference to an
org.jboss.remoting.Client, from which it obtains the value of clientLeasePeriod. If the
ConnectionValidator is being reused, and the Client it points to has been disconnected, it
gets a value of -1 and it doesn't tie pinging to a Lease.