wssserver

command
v1.7.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2026 License: MIT Imports: 17 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL