HTTP/3 Connection Flow
HTTP/3 is the third major version of the HTTP protocol, running over QUIC instead of TCP, enabling 1-RTT connection establishment, independent stream multiplexing without head-of-line blocking, and seamless connection migration across network changes.
HTTP/3 is the third major version of the HTTP protocol, running over QUIC instead of TCP, enabling 1-RTT connection establishment, independent stream multiplexing without head-of-line blocking, and seamless connection migration across network changes.
HTTP/3 (RFC 9114) was standardized in 2022 and is now supported by all major browsers and CDNs. The key insight is that QUIC — the transport protocol beneath HTTP/3 — integrates TLS 1.3 directly, so the transport and security handshakes happen simultaneously rather than sequentially.
Comparison with HTTP/2: HTTP/2 over TCP requires 2 RTTs (TCP + TLS 1.3) before sending data. HTTP/3 over QUIC requires only 1 RTT for new connections. More importantly, QUIC streams are independent at the transport level, so packet loss only affects the stream whose data is in the lost packet — not all concurrent streams (solving TCP's head-of-line blocking).
Connection Migration: QUIC connections are identified by a Connection ID, not by the 4-tuple (src IP, src port, dst IP, dst port). This means a mobile client can switch from WiFi to LTE — changing its IP address — without dropping the connection. TCP connections always break on IP change.
0-RTT Resumption: On subsequent connections to the same server (using a session ticket from a prior connection), QUIC supports 0-RTT data: the client can send application data in the very first packet, before the handshake completes. This is ideal for latency-sensitive API calls on returning visitors, though 0-RTT data is not protected against replay attacks for non-idempotent requests.
Alt-Svc and QUIC Discovery: Servers advertise HTTP/3 support via the Alt-Svc HTTP header (h3=":443"). Browsers attempt UDP/QUIC connections in parallel with TCP and use whichever succeeds first (Happy Eyeballs for QUIC).