Change request #893
Server must not indefinitely read by itself
At the moment, the server object is too smart and does too many things
Remove the following stuff and replace it in the server_service:
- auto reconnection
- auto re-read
- auto read after connect
This make server much more flexible
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.