headscale/hscontrol/types
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
..
testdata make acl_policy_path fatal if policy.path is not set (#2041) 2024-08-19 13:03:01 +02:00
api_key.go Split code into modules 2023-05-26 12:24:50 +02:00
common.go batch updates in notifier (#1905) 2024-04-27 10:47:39 +02:00
config_test.go Only load needed part of configuration (#2109) 2024-09-07 09:23:58 +02:00
config.go make cli mode respect log.level (#2124) 2024-09-11 10:43:22 +02:00
const.go improve testing of route failover logic 2024-04-15 12:31:53 +02:00
node_test.go Redo DNS configuration (#2034) 2024-08-19 11:41:05 +02:00
node.go Redo DNS configuration (#2034) 2024-08-19 11:41:05 +02:00
policy.go feat: implements apis for managing headscale policy (#1792) 2024-07-18 07:38:25 +02:00
preauth_key.go Restore foreign keys and add constraints (#1562) 2024-05-15 20:40:14 -04:00
routes_test.go ensure online status and route changes are propagated (#1564) 2023-12-09 18:09:24 +01:00
routes.go ensure online status and route changes are propagated (#1564) 2023-12-09 18:09:24 +01:00
users.go Add compatibility with only websocket-capable clients (#2132) 2024-09-21 12:05:36 +02:00