1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-10-28 10:51:44 +01:00
juanfont.headscale/hscontrol
Kristoffer Dalby b904276f2b poll: use nodeview everywhere
There was a bug in HA subnet router handover where we used stale node data
from the longpoll session that we handed to Connect. This meant that we got
some odd behaviour where routes would not be deactivated correctly.

This commit changes to the nodeview is used through out, and we load the
current node to be updated in the write path and then handle it all there
to be consistent.

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2025-07-08 21:05:15 +02:00
..
assets
capver update capmap and deps for release (#2522) 2025-05-02 22:12:29 +02:00
db all: use immutable node view in read path 2025-07-07 21:28:59 +01:00
derp feat: add verify client config for embedded DERP (#2260) 2025-06-18 09:24:53 +02:00
dns cmd/hi: fixes and qol (#2649) 2025-06-23 13:43:14 +02:00
mapper all: use immutable node view in read path 2025-07-07 21:28:59 +01:00
notifier cmd/hi: fixes and qol (#2649) 2025-06-23 13:43:14 +02:00
policy all: use immutable node view in read path 2025-07-07 21:28:59 +01:00
routes Multi network integration tests (#2464) 2025-03-21 11:49:32 +01:00
state poll: use nodeview everywhere 2025-07-08 21:05:15 +02:00
templates web: change node registration parameter order (#2607) 2025-05-21 11:18:53 +02:00
types all: use immutable node view in read path 2025-07-07 21:28:59 +01:00
util Ensure that a username starts with a letter (#2635) 2025-06-24 14:45:44 +02:00
app.go Clarify SIGHUP log message (#2661) 2025-07-04 09:30:51 +02:00
auth.go poll: use nodeview everywhere 2025-07-08 21:05:15 +02:00
debug.go all: use immutable node view in read path 2025-07-07 21:28:59 +01:00
grpcv1_test.go
grpcv1.go all: use immutable node view in read path 2025-07-07 21:28:59 +01:00
handlers.go fix typo in parseCapabilityVersion, and removed unused error (#2644) (#2644) 2025-07-04 09:40:29 +02:00
metrics.go
noise.go poll: use nodeview everywhere 2025-07-08 21:05:15 +02:00
oidc.go state: introduce state 2025-06-24 07:58:54 +02:00
platform_config.go
poll.go poll: use nodeview everywhere 2025-07-08 21:05:15 +02:00
suite_test.go
tailsql.go fix typo in TailSQL's log 2025-05-18 07:15:41 +02:00