Applications, chapter 31 of 36
HTTP/3: The Web on QUIC
Chromium 159 has no code to send the frame that allows HTTP/3 server push, so no server may push to it.
Forty-five milliseconds after the click, the first response arrives over TCP, and one of its fields is a promise: alt-svc: h3=":443"; ma=86400. The browser files it away for a day and soon opens a QUIC connection to UDP port 443 next to the TCP one. Once that handshake is done, requests travel over HTTP/3, and a GET /, trimmed to its control data and priority, takes 34 bytes on stream 0.
- 33 ms
- first byte with an HTTPS record that lists
h3, against 45 ms in our scenario - 300 ms
- how long Chromium 159 on Linux holds TCP back by default when it has no QUIC RTT for the server
- 21 percent
- of the requests Cloudflare served in 2025 used HTTP/3
From HTTP/2 to HTTP/3, then one lost packet
Step through how our browser moves its requests to QUIC, then lose a packet and compare which responses wait. The cases show what an HTTPS record or a blocked UDP port 443 changes.
How does the browser learn that HTTP/3 exists?
From the server, after the fact. A client may try QUIC on any https origin directly (RFC 9114, Section 3.1), but a client that does not know whether the server listens on UDP would waste its first round trip finding out. The usual discovery is the Alt-Svc field: an origin nominates an alternative service, a triple of ALPN protocol name, host, and port (RFC 7838, Section 2).
Our h3=":443" names h3, the same host, and port 443, which for h3 means UDP. The client must authenticate the alternative with a certificate for the origin's name, so an h2c alternative is useless.
What would an HTTPS record have changed?
One round trip. Our resolver answered NODATA for the HTTPS query, so the browser had no reason to try anything but TCP. With www.example.net. 300 IN HTTPS 1 . alpn="h3,h2" in the zone, the QUIC Initial would leave right after the DNS answer at 4 ms, and the first byte of HTML would arrive at 16 + 12 + 5 = 33 ms instead of 45 ms.
DNS is an untrusted channel unless DNSSEC protects it, so the record has no persist (RFC 9460, Section 9.2.2), and the DNS TTL takes the place of ma (RFC 9460, Section 9.2.3).
Why does the browser race QUIC against TCP?
Because QUIC might not get through, and waiting for a timeout would cost seconds. Chromium 159 on Linux starts QUIC and by default holds TCP back for 1.5 times the smoothed RTT that earlier QUIC connections measured to the server, or 300 ms without one, never more than 3 seconds [Chromium2026]. A QUIC attempt that fails while TCP succeeds marks the alternative as broken for 5 minutes, and repeated failures double the time, up to two days.
None of this delays our next request. The HTTP/2 connection is still open, so Chromium sends it there at once and lets QUIC finish in the background, as RFC 7838, Section 2.4 allows.
What does our GET look like on stream 0?
One HEADERS frame of 34 bytes, trimmed to its control data and priority. Three of the five field lines cost one byte each, because :method GET, :scheme https, and :path / are complete entries of QPACK's static table. The byte 0xD1 reads as pattern 1, static-table bit 1, and index 17 (RFC 9204, Section 4.5.2). The :authority value travels as 12 bytes of Huffman code.
The priority field costs most. The static table was built from 2018 traffic, four years before RFC 9218 defined the field, so even its name is a literal. No message carries a version number: only the ALPN token h3 names the protocol.
Why could HPACK not be reused?
Because HPACK assumes that header blocks arrive in the order they were sent. An HTTP/2 header block may insert entries into the dynamic table, and the next block may refer to them, which works because TCP delivers everything in one order. QUIC delivers each stream in order and the streams in any order relative to one another.
QPACK moves all table changes onto one encoder stream. Each field section starts with a Required Insert Count, and a section that arrives before the inserts it needs blocks its stream. Our laptop allows 100 such streams (RFC 9204, Section 2.1.2).
Where does HTTP/3 win, and where does it not?
It wins a round trip at connection setup and a second one on resumption with 0-RTT, and it keeps streams independent when packets get lost. On a direct QUIC connection to the real www.example.net on 13 November 2026, HTTP/3 brought the first byte 6.3 ms earlier, about 60 percent of a 10.9 ms round trip. In Google's data the gains grew with the client's round-trip time [Langley2017].
On fast, clean networks it can lose. Above about 500 Mbit/s, downloads over QUIC fell behind HTTP/2, at 1 Gbit/s by 45.2 percent, because the receiver processed far more packets without UDP receive offload [Zhang2024].
The book keeps asking
This chapter has 5,522 words and 13 questions. These 7 are answered only in the book and the audiobook.
- What does an HTTP/3 connection carry besides requests?
- How does HTTP/3 signal priority without a tree?
- Is a 0-RTT request safe?
- What became of server push?
- How does a tunnel ride on a request stream?
- Where does WebTransport stand?
- How much of the web runs on HTTP/3?
Open the sources
- RFC 9114 HTTP/3
- RFC 9204 QPACK: Field Compression for HTTP/3
- RFC 7838 HTTP Alternative Services
- RFC 9460 Service Binding and Parameter Specification via the DNS (SVCB and HTTPS Resource Records)
- RFC 9218 Extensible Prioritization Scheme for HTTP
- RFC 9297 HTTP Datagrams and the Capsule Protocol
- RFC 9298 Proxying UDP in HTTP
- [Chromium2026] Chromium source tree, version 159.0.8138.0 (commit e0fb9dd9ecb25, 1 November 2026)
All 35 documents this chapter cites, each with a link to its publisher and a copy kept here.
