diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-09-08 15:59:00 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-09-12 10:20:09 +0200 |
commit | 159c895986f2358d6df8bb5804cc4419cc6b457f (patch) | |
tree | 7c6e43fe9c412bfa30d33e75dbce114b7540ce37 /src/CMakeLists.txt | |
parent | 6415707ead57b42a52e7752dc197a5dac479ce3d (diff) |
afb-proto-ws: Split afb-stub-ws in twoeel_4.99.1eel/4.99.14.99.1
The file afb-stub-ws is split in two parts:
- afb-stub-ws: implements the interface between
xreq and protocol.
- afb-proto-ws: implements the pbinary protocol
over wer sockets
The intent is to have a clean separation between
a kind of generic stub and the protocol implmentation.
This will allow soon to provide a library to access
directly in C to the websocket of an API exposed
through the otpion --ws-server.
At the moment, the protocol implementation is on
websockets but in the futur it will be cleanly
rewritten to use any binary transport.
This commit also fixe a double free in subcalls.
Change-Id: I831787533db9fe073d060dd8ee9401cbab2894e1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 14c5120d..74702ad3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -52,6 +52,7 @@ ADD_LIBRARY(afb-lib STATIC afb-method.c afb-monitor.c afb-msg-json.c + afb-proto-ws.c afb-session.c afb-stub-ws.c afb-svc.c |