mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-17 21:23:18 +00:00
2419d95b74
Previously, was using counters to track the relation, also had distinct tracking of users versus callbacks. Unify the callback and user into a single 'session' attach and then use the size of the set of sessions and their declared users rather than trying to maintain a counter on the side. This change simplifies the relationship, changes away the logging and clientcount counter for a more robust strategy, and paves the way for the dependent ShellHandler to terminate connected sessions when the shell session dies.