summaryrefslogtreecommitdiff
path: root/tests (follow)
Commit message (Expand)AuthorAgeFilesLines
* Forward PROXY v2 AUTHORITY end-to-end•••wscat now sits transparently in the untls → wscat → papod path: on Accept, it parses any PROXY v2 header from upstream and stashes the AUTHORITY TLV on the wrapped conn; on the downstream dial to papod, it re-emits a PROXY v2 header with the same authority before forwarding any WebSocket payload bytes. A 5-second read deadline caps the parse window (so a slowloris peer can't pin the accept goroutine), and Accept loops past per-connection wrap errors — without that, an "nc -z" liveness probe (open + close, zero bytes) bubbles up as EOF to http.Server.Serve and panics the whole process. When no PROXY header is present (e.g. the integration test stack where binder speaks raw bytes) wscat skips the re-emit and lets papod fall back to PAPOD_NETWORK_NAME. Tests cover header build/parse roundtrip, the no-signature-pass- through case, and header byte layout. EuAndreh9 days1-0/+63
* Adapt to latest golang Makefile skeletonEuAndreh2024-10-201-1/+1
* Makefile: Add "bench" targetEuAndreh2024-08-101-1/+0
* src/wscat.go: Remove deprecated codeEuAndreh2024-08-101-79/+7
* src/wscat.go: Remove client supportEuAndreh2024-08-101-798/+1
* Remove unnecessary SOCKS5 supportEuAndreh2024-08-101-162/+0
* Build with "go tool" AND import code from depsEuAndreh2024-08-103-24/+2849
* Initial implementationEuAndreh2024-07-254-0/+190