Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
afb-api-ws: Use afb-socket features
[src/app-framework-binder.git]
/
stress-server.sh
diff --git
a/stress-server.sh
b/stress-server.sh
index
ec57da5
..
643c899
100755
(executable)
--- a/
stress-server.sh
+++ b/
stress-server.sh
@@
-1,11
+1,10
@@
#!/bin/bash
ROOT=$(dirname $0)
#!/bin/bash
ROOT=$(dirname $0)
+cd ${ROOT:-.}
+ROOT=$(pwd)
echo ROOT=$ROOT
echo ROOT=$ROOT
-cd $ROOT
-pwd
-
AFB=build/src/afb-daemon
HELLO=build/bindings/samples/helloWorld.so
PORT=12345
AFB=build/src/afb-daemon
HELLO=build/bindings/samples/helloWorld.so
PORT=12345
@@
-18,7
+17,7
@@
rm $OUT*
case "$1" in
--ws)
shift
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"
;;
*)
# ARGS="$ARGS -vvv --tracereq=all"
;;
*)