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 /stress-server.sh | |
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 'stress-server.sh')
-rwxr-xr-x | stress-server.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stress-server.sh b/stress-server.sh index 09d06c44..643c8990 100755 --- a/stress-server.sh +++ b/stress-server.sh @@ -17,7 +17,7 @@ rm $OUT* case "$1" in --ws) shift - ARGS="-q --ldpaths=/tmp --binding=$HELLO --session-max=100 --ws-server=unix:@afw:hello --no-httpd --exec $AFB --session-max=100 --port=$PORT --ldpaths=/tmp --roothttp=$TEST --token=$TOKEN --ws-client=unix:@afw:hello " + ARGS="-q --no-ldpaths --binding=$HELLO --session-max=100 --ws-server=unix:@afw:hello --no-httpd --exec $AFB --session-max=100 --port=$PORT --no-ldpaths --roothttp=$TEST --token=$TOKEN --ws-client=unix:@afw:hello " # ARGS="$ARGS -vvv --tracereq=all" ;; *) |