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/cmd
Brad Fitzpatrick e415991256 derp, derp/derphttp: remove one RTT from DERP setup
* advertise server's DERP public key following its ServerHello
* have client look for that DEPR public key in the response
  PeerCertificates
* let client advertise it's going into a "fast start" mode
  if it finds it
* modify server to support that fast start mode, just not
  sending the HTTP response header

Cuts down another round trip, bringing the latency of being able to
write our first DERP frame from SF to Bangalore from ~725ms
(3 RTT) to ~481ms (2 RTT: TCP and TLS).

Fixes #693

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
4 years ago
..
cloner cmd/cloner, tailcfg: fix nil vs len 0 issues, add tests, use for Hostinfo 4 years ago
derper derp, derp/derphttp: remove one RTT from DERP setup 4 years ago
microproxy cmd/microproxy: add a quick hack for some malformed variables. 4 years ago
mkpkg cmd/mkpkg: support adding empty directories. 4 years ago
tailscale cmd/tailscale/cli: appease staticcheck 4 years ago
tailscaled cmd/tailscaled: ignore SIGPIPE. 4 years ago
tsshd wgengine/monitor: don't call LinkChange when interfaces look unchanged 4 years ago