1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00
juanfont.headscale/hscontrol/util
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
..
addr_test.go use cmp.Diff instead of reflect.DeepEqual 2023-07-01 21:55:47 +02:00
addr.go Split code into modules 2023-05-26 12:24:50 +02:00
const.go Split code into modules 2023-05-26 12:24:50 +02:00
dns_test.go Migrate IP fields in database to dedicated columns (#1869) 2024-04-17 07:03:06 +02:00
dns.go Migrate IP fields in database to dedicated columns (#1869) 2024-04-17 07:03:06 +02:00
file.go improve errors for missing directories (#1765) 2024-02-17 13:36:19 +01:00
key.go remove the use key stripping and store the proper keys (#1603) 2023-11-16 17:55:29 +01:00
log.go Integrate GORM Logger with Zerolog and Add Configuration Options for Logging and Performance (#2040) 2024-08-19 11:47:52 +02:00
net.go Add compatibility with only websocket-capable clients (#2132) 2024-09-21 12:05:36 +02:00
string_test.go
string.go remove custom contains funcs for slices.Contains (#2015) 2024-07-19 09:04:04 +02:00
test.go fix route table migration wiping routes 0.22 -> 0.23 (#2076) 2024-08-27 18:54:28 +02:00
util_test.go Get integration test netmap from watch-ipn command (#1729) 2024-02-18 23:22:18 +01:00
util.go Get integration test netmap from watch-ipn command (#1729) 2024-02-18 23:22:18 +01:00