TLS Handshake: Cloudflare eliminates the HelloRetryRequest

When Cloudflare opens a TLS 1.3 connection to an origin server, the protocol forces it to bet on the very first packet: which key exchange algorithm will the other side accept? The default bet was X25519, for everyone, for years.
About 30% of origins lost that bet. The origin replied with a HelloRetryRequest, the handshake started over from scratch, and the connection paid for one extra round trip.
Probe instead of guess
Cloudflare's new Automatic Key Exchange feature replaces the bet with a measurement. The platform probes every origin to discover which algorithms it supports, then opens the connection directly with the right one — preferring the post-quantum hybrid X25519MLKEM768 whenever possible.
No more guessing: discover first, then land the handshake on the first attempt.
52% → 3.7% HelloRetryRequest
The published numbers show how big the problem was. In the field, HelloRetryRequests dropped from roughly 52% to 3.7% of connections, shaving more than 150 ms of handshake latency at p90. All of it across 45 billion daily connections.
The first lesson is technical: milliseconds hidden in a handshake, multiplied by billions of connections, become seconds your users actually feel. Nobody measures TLS latency to their origins — it stays invisible until someone digs in.
Post-quantum by default
The second lesson is strategic. The same mechanism puts hundreds of thousands of domains on post-quantum connections without anyone configuring anything. Against the harvest-now, decrypt-later attack — recording today's encrypted traffic to break it tomorrow — automation is the only thing that scales. You will not turn millions of administrators into cryptographers.
The X25519MLKEM768 rollout follows the same logic as every TLS migration of the last decade: when the protocol negotiates and falls back on its own, adoption becomes a side effect of the platform deployment, not a project on the client side.
What your stack does by default
What your infrastructure does by default defines your real security. What it asks you to configure defines your theoretical security. TLS handshakes to origins sat in the second category for 30% of them for years — and nobody knew.
Teams running reverse proxies or load balancers in front of heterogeneous origins have the same control point to audit: which key exchange negotiation does their TLS stack apply, and how many handshakes start over? The metrics exist — most stacks simply don't expose them.
Cloudflare has made the question moot for its customers. The rest of the industry will have to answer sooner or later — and the post-quantum answer will arrive the same way: by default, not as a project.