diff tests/src/libirccd/command-server-topic/main.cpp @ 733:bd12709b1975

Irccd: rework server to be simpler Server no longer has signals, now user is responsible of calling connect(), recv() and pass a completion handler. The recv function will complete with a std::variant of all possible events. The server does not manage itself anymore, the reconnection system has been moved to server_service instead. To simplify reconnection, the limit has been removed now you can only enable indefinite reconnection or disable it at all. closes #893 closes #892
author David Demelier <markand@malikania.fr>
date Tue, 24 Jul 2018 21:30:00 +0200
parents e8c4ba5ed1c6
children 64839725f346
line wrap: on
line diff
--- a/tests/src/libirccd/command-server-topic/main.cpp	Thu Jul 19 12:54:00 2018 +0200
+++ b/tests/src/libirccd/command-server-topic/main.cpp	Tue Jul 24 21:30:00 2018 +0200
@@ -36,6 +36,7 @@
     server_topic_test()
     {
         daemon_->servers().add(server_);
+        server_->cqueue().clear();
     }
 };