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/controlbase
David Anderson d5a7eabcd0 control/controlbase: enable asynchronous client handshaking.
With this change, the client can obtain the initial handshake message
separately from the rest of the handshake, for embedding into another
protocol. This enables things like RTT reduction by stuffing the
handshake initiation message into an HTTP header.

Similarly, the server API optionally accepts a pre-read Noise initiation
message, in addition to reading the message directly off a net.Conn.

Updates #3488

Signed-off-by: David Anderson <danderson@tailscale.com>
2 years ago
..
conn.go control/controlbase: enable asynchronous client handshaking. 2 years ago
conn_test.go control/controlbase: enable asynchronous client handshaking. 2 years ago
handshake.go control/controlbase: enable asynchronous client handshaking. 2 years ago
handshake_test.go control/controlbase: enable asynchronous client handshaking. 2 years ago
interop_test.go control/controlbase: enable asynchronous client handshaking. 2 years ago
messages.go control/controlbase: rename from control/noise. 2 years ago
noiseexplorer_test.go control/controlbase: rename from control/noise. 2 years ago