LP#1777180 Websocketd gateway and test scripts
authorBill Erickson <berickxx@gmail.com>
Sat, 9 Jun 2018 23:05:25 +0000 (19:05 -0400)
committerJason Stephenson <jason@sigio.com>
Tue, 23 Jul 2019 11:42:43 +0000 (07:42 -0400)
commit58cf1609abe6143447e06f44e253bb8a1b33b485
tree3b8add836e9439c97261c03b5406164f8fd6b9c7
parentf7a7bc2ef7383b6f82bfc77425b2fc00cab2395d
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>
Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
.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]