headscale/integration/dockertestutil
enoperm 1e61084898
Add compatibility with only websocket-capable clients (#2132)
* handle control protocol through websocket

The necessary behaviour is already in place,
but the wasm build only issued GETs, and the handler was not invoked.

* get DERP-over-websocket working for wasm clients

* Prepare for testing builtin websocket-over-DERP

Still needs some way to assert that clients are connected through websockets,
rather than the TCP hijacking version of DERP.

* integration tests: properly differentiate between DERP transports

* do not touch unrelated code

* linter fixes

* integration testing: unexport common implementation of derp server scenario

* fixup! integration testing: unexport common implementation of derp server scenario

* dockertestutil/logs: remove unhelpful comment

* update changelog

---------

Co-authored-by: Csaba Sarkadi <sarkadicsa@tutanota.de>
2024-09-21 12:05:36 +02:00
..
config.go Skip integration tests on short or lack of docker 2022-10-18 15:37:11 +02:00
execute.go validate policy against nodes, error if not valid (#2089) 2024-08-30 16:58:29 +02:00
logs.go Add compatibility with only websocket-capable clients (#2132) 2024-09-21 12:05:36 +02:00
network.go oidc: add test for expiring nodes after token expiration 2023-01-04 09:23:52 +01:00