Mercurial > malikania
diff server/CMakeLists.txt @ 157:f25f5fea66af
Common: implement network_stream class, closes #755 @1h
This class handles receive/send operations under the hood, it automatically does
the following things:
- parse/dump JSON message using '\r\n\r\n',
- detect errors/disconnections and mark them as network_down,
- flush receive/send after a successful operation.
Acked-by: Alexis Dörr
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 13 Dec 2017 17:18:53 +0100 |
parents | 614ac46dac3e |
children | 4b292c20124c |