Mercurial > irccd
diff extern/VERSION.json.txt @ 666:c99780476eb7
Misc: rework networking
The network_stream and irc classes do not assume that owner is alive anymore by
keeping handlers before end of block. Instead, callers postpone deletion of
themselves when required to allow handler finishing correctly.
Capture all exceptions that can happen in network_stream to make sure handler is
called as appropriate in any case. Do the same in irc class.
Create a dedicated on_disconnect event in server class which is emitted when the
server gets disconnected but is not dead yet.
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 06 Apr 2018 13:44:20 +0200 |
parents | af932dbab952 |
children | db9acd7993cd |