15 Commits (03ff07252ee058154c967afcb6854137c8a1990e)

Author SHA1 Message Date
Jessie Murray 3984fb968f
Validate Sec-WebSocket-Accept in WS test
1. Generate random WS connection key
2. Read headers returned in WS connection (upgrade) response
3. Validate Sec-WebSocket-Accept return value from webdis

Tested by introducing an artificial error in webdis, reported as
expected.
3 years ago
Jessie Murray 657197f737
websocket test: make WS mask configurable 3 years ago
Jessie Murray fd8f0b16e0
websocket test: remove special single-threaded mode 3 years ago
Jessie Murray 9a758c6bcf
websocket test: make client sockets non-blocking 3 years ago
Jessie Murray 8141c00ab7
websocket test: formatting/indentation 3 years ago
Jessie Murray b5b76c9c8f
Reduce default number of websocket messages to test for
2,500 per client with 4 clients: 10,000 total
3 years ago
Jessie Murray 665fc19126
Add max execution time to tests/websocket.c
* Add --max-time in seconds
* Break client loop when elapsed
3 years ago
Jessie Murray 2576a1606d
Websocket test: clean up usage(), exit code
* Better usage() help page
* Do not submit another frame once we've sent all we needed
3 years ago
Jessie Murray b0740d0c87
Major update of websocket test
1. Switch to evbuffer for correct handling of partial writes
2. Implement WS state machine in each worker
3. Clean up debug logging
4. Add detailed network log messages to help find WS issues
5. Switch to getopt_long
3 years ago
Jessie Murray 0a27fc7e10
More progress on evbuffer-based WS client test 3 years ago
Jessie Murray c46b85ab7a
First attempt at fixing the websocket test 3 years ago
Nicolas Favre-Felix 1589b77da9
Clean up empty indented lines 4 years ago
Nicolas Favre-Felix fb7d5b8429 Cleanup. 14 years ago
Nicolas Favre-Felix 21c4413d0d cleanup. 14 years ago
Nicolas Favre-Felix 5b7aa50e62 Partial rewrite, adding WebSockets, threads, pool. 14 years ago