wssserver

command
v1.7.37 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: MIT Imports: 16 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++ SDK tests: a WebSocket server speaking the etunnel wire protocol with a throwaway self-signed certificate. It exists so the SDK tests can assert that TLS verification actually rejects a certificate the OS does not trust (#49).

Modes:

welcome - accept, read hello, send one welcome, keep the socket open
drama   - welcome, then a req+FIN pair whose local target is expected to
          be slow, then close the socket abruptly 300ms later. This is the
          disconnect-while-curl-is-running scenario for the lifecycle test.

Jump to

Keyboard shortcuts

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