tailscale/control
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>
2022-10-27 15:07:53 -07:00
..
controlbase control/controlbase: don't enforce a max protocol version at handshake time. 2022-04-07 17:55:29 -07:00
controlclient types/persist: add PublicNodeKey helper 2022-10-24 15:57:00 -07:00
controlhttp control/controlhttp: add AcceptHTTP hook to add coalesced Server->Client write 2022-10-27 15:07:53 -07:00
controlknobs envknob: support changing envknobs post-init 2022-09-15 15:04:02 -07:00