From 159c895986f2358d6df8bb5804cc4419cc6b457f Mon Sep 17 00:00:00 2001 From: José Bollo Date: Fri, 8 Sep 2017 15:59:00 +0200 Subject: afb-proto-ws: Split afb-stub-ws in two MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- stress-server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stress-server.sh') 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" ;; *) -- cgit 1.2.3-korg