Project

General

Profile

Change request #893

Server must not indefinitely read by itself

Added by David Demelier 12 months ago. Updated 12 months ago.

Status:
Closed
Priority:
Normal
Category:
irccd
Target version:
Start date:
07/19/2018
Due date:
% Done:

100%

Estimated time:
3.00 h
MFD after:
MFD revision:
Branch:
default
Bookmark:
@
Platform:

Description

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

Associated revisions

Revision 733:45ca0519d2ee (diff)
Added by David Demelier 12 months ago

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

History

#1

Updated by David Demelier 12 months ago

  • Description updated (diff)
#2

Updated by David Demelier 12 months ago

  • % Done changed from 0 to 100
  • Status changed from New to Resolved
#3

Updated by David Demelier 12 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF