summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorNick Khyl <nickk@tailscale.com>2025-02-07 10:47:14 -0600
committerNick Khyl <1761190+nickkhyl@users.noreply.github.com>2025-02-11 15:31:42 -0600
commite9e2bc5bd72190d288d16d8f8836605f48e46e57 (patch)
tree38c2643bd7312dc194fb4b980311f8d21a07068d /control/controlhttp/controlhttpserver/controlhttpserver.go
parent5a082fccecbf8bedcdc8bd427bbd1f9068556dd3 (diff)
downloadtailscale-e9e2bc5bd72190d288d16d8f8836605f48e46e57.tar.xz
tailscale-e9e2bc5bd72190d288d16d8f8836605f48e46e57.zip
ipn/ipn{auth,server}: update ipnauth.Actor to carry a context
The context carries additional information about the actor, such as the request reason, and is canceled when the actor is done. Additionally, we implement three new ipn.Actor types that wrap other actors to modify their behavior: - WithRequestReason, which adds a request reason to the actor; - WithoutClose, which narrows the actor's interface to prevent it from being closed; - WithPolicyChecks, which adds policy checks to the actor's CheckProfileAccess method. Updates #14823 Signed-off-by: Nick Khyl <nickk@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions