mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-17 21:23:18 +00:00
Jarrod Johnson
4a660d2fb1
Rework session to console relationship
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.
…
…
Description
Languages
Python
80.4%
Shell
15.6%
C
3.6%
Perl
0.3%