You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jessie Murray 6b090b4ede
Large refactoring of WS code
1. Introduce ws_client struct
2. Handle all communications from websocket.c for WS clients
3. Always use a dedicated Redis connection for WS clients
4. Add rbuf & wbuf evbuffers for incoming & outgoing WS data
5. Use event_base_once to control R/W events
6. WS test: make sure to read complete HTTP response
3 years ago
..
Makefile Add progress thread w/ custom interval for WS test 3 years ago
README.tests README for tests. 14 years ago
basic.py Disable pub/sub tests for now, rename curl-tests function 3 years ago
bench.sh Allow test programs use custom port using environment variable or command-line argument 11 years ago
curl-tests.sh Disable pub/sub tests for now, rename curl-tests function 3 years ago
limits.py Convert tests to Python3 5 years ago
pubsub.c Clean up empty indented lines 4 years ago
requirements.txt Add Python-based WebSockets tests 3 years ago
websocket.c Large refactoring of WS code 3 years ago
websocket.html Refactor websocket.html to remove duplicate HTML 3 years ago
ws-tests.py Large refactoring of WS code 3 years ago

README.tests

This directory contains a few test programs for Webdis:

* basic.py:	Unit tests.
* bench.sh:	Benchmark of several functions.
* pubsub (run `make' to compile): Tests pub/sub channels; run `./pubsub -h` for options.
* websocket (run `make' to compile): Tests HTML5 WebSockets; run `./websocket -h` for options.