When I kill my main the leafs disconnect from their slaves.
It somehow thinks that the slave went down instead of the main.
debug output of a leaf:
// first link
[*] Acting as LEAF
[+] Config loaded
>>> hub = hub
[*] Connecting to HUB: localhost port 4848
..
[D] hub handle: slave
// then when it sees main quitting:
[C] read[]: 62 hub * 38 EOF from client
kill:
red kill:
>>> hub = hub
[*] Connecting to HUB: localhost port 4848
..
[D] hub handle: slave
occurs at least on 0.2.14
confs:
nick hub
nickappend _-^`|
ident psotnic
realname Psotnic C++ Edition
myipv4 0.0.0.0
vhost 0.0.0.0
ownerpass ..
listen 9000
nick slave
nickappend _-^`|
ident psotnic
realname Psotnic C++ Edition
myipv4 0.0.0.0
vhost 0.0.0.0
listen 4848
hub 127.0.0.1 9000 testpassword
nick leaf
nickappend _-^`|
ident psotnic
realname Psotnic C++ Edition
myipv4 0.0.0.0
vhost 0.0.0.0
hub localhost 4848 testpassword