Documentation
¶
Overview ¶
Command wssserver is a test fixture for the C#/C/C++ SDK tests: a WebSocket server speaking the etunnel wire protocol with scripted scenarios for the regression tests (#48/#49/#54).
Modes:
welcome - accept, read hello, send one welcome, hold the socket open
drama - welcome, req+FIN, close abruptly 300ms later (drop mid-request)
sink - welcome, req+FIN, read the client's res+DATA+FIN, report bytes
hellocheck - parse hello strictly, verify ET_TEST_TOKEN arrives intact
burst - welcome, then 24 concurrent reqs with distinct sids; reads every
reply and enforces per-sid ordering (res before DATA before FIN),
which concurrent ClientWebSocket.SendAsync calls used to violate.
-plain serves ws:// (no TLS); tests then need no certificate dance.
Click to show internal directories.
Click to hide internal directories.