Tasks #1581

Remove disconnected connection in BusServer

Added by J. Wienke over 10 years ago. Updated over 10 years ago.

Status:ResolvedStart date:07/30/2013
Priority:NormalDue date:
Assignee:J. Wienke% Done:

100%

Category:Java
Target version:rsb-0.9

Description

Currently the BusServer continuously tries to dispatch new events to all connections that registered during its lifetime without removing disconnected connections, which leads to a lot of logging messages.

Associated revisions

Revision 3f7ed064
Added by J. Wienke over 10 years ago

fixes #1581: Implement removal of disconnected clients

In case of sending errors on BusConnections, remove these connections
correctly. Implementing this change required adaption of the locking
mechanism in BusBase to prevent deadlocks. Hopefully, these changes are
right now, because locking is not easy in this case.

History

#1 Updated by J. Wienke over 10 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset rsb-java|commit:3f7ed064742695ecbcb12d7fdeb7414e63070688.

Also available in: Atom PDF