You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/control/controlhttp
Brad Fitzpatrick 5e9e57ecf5 control/controlhttp: add AcceptHTTP hook to add coalesced Server->Client write
New plan for #5972. Instead of sending the public key in the clear
(from earlier unreleased 246274b8e9) where the client might have to
worry about it being dropped or tampered with and retrying, we'll
instead send it post-Noise handshake but before the HTTP/2 connection
begins.

This replaces the earlier extraHeaders hook with a different sort of
hook that allows us to combine two writes on the wire in one packet.

Updates #5972

Change-Id: I42cdf7c1859b53ca4dfa5610bd1b840c6986e09c
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
..
client.go control/controlhttp: allow setting, getting Upgrade headers in Noise upgrade 2 years ago
client_common.go control/controlhttp: allow setting, getting Upgrade headers in Noise upgrade 2 years ago
client_js.go net/wsconn: add back custom wrapper for turning a websocket.Conn into a net.Conn 2 years ago
constants.go tailcfg, control/controlhttp, control/controlclient: add ControlDialPlan field (#5648) 2 years ago
http_test.go control/controlhttp: add AcceptHTTP hook to add coalesced Server->Client write 2 years ago
server.go control/controlhttp: add AcceptHTTP hook to add coalesced Server->Client write 2 years ago