LP#1777180 Websocketd gateway and test scripts user/berick/lp1777180-websocketd-gateway
authorBill Erickson <berickxx@gmail.com>
Sat, 9 Jun 2018 23:05:25 +0000 (19:05 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 15 Jun 2018 19:14:35 +0000 (15:14 -0400)
commitbfca3a8a46317ae8d4ddc3ac09e06d6251187dbd
tree2ca385d16fe1452457c66696e538609388a6f807
parent71720f639e00d0e457bc8f967f8060b579bc2882
LP#1777180 Websocketd gateway and test scripts

Adds a new OpenSRF binary/program for relaying websockets messages
to and from a websocketd instance.  The new binary
(osrf-websocket-stdio) performs the same tasks as the
osrf_websocket_translator.c Apache module, minus the Apache module glue
and the extra threading required to run within the Apache module.

Commit includes 2 test scripts (tester.pl and test-stateful.pl) for
generating large series of test messages to send to a websockets
instance. tester.pl sends echo requests only, test-stateful.pl sends
connect->echo-request->disconnect batches across a configurable number
of forked processes.

INSTALL document updated to include websocketd setup as an alternative
to Apache websockets.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
.gitignore
README
configure.ac
src/Makefile.am
src/websocket-stdio/Makefile.am [new file with mode: 0644]
src/websocket-stdio/osrf-websocket-stdio.c [new file with mode: 0644]
src/websocket-stdio/test-stateful.pl [new file with mode: 0755]
src/websocket-stdio/tester.pl [new file with mode: 0755]