WP39: The HTTP server: a TechEmpower entry, then a general-purpose server
State: In progress · Done: 22 of 29 · Design note: docs/wp39-http-server.md
Stages
- E1, E2:
SO_REUSEPORTandTCP_NODELAYthroughtcpListenFlags - E3, E4:
JsonWriterand a cached HTTP date - E5: the
jsonandplaintextentry inbench/techempower/ - E5: the
jsonandplaintextentry on one process per core - E6: the Postgres client, its pool and carrier, binary results and a live CI job
- E6: Postgres over TLS
- E7, E8: the
db,query,update,cached-queryandfortuneentry - E9: submit the entry to TechEmpower (open question)
- G1: Chrome over HTTP/2 on TCP in the interop job
- G1:
curland Autobahn for HTTP/1.1 and WebSocket; Chrome over HTTP/1.1 (#1437) - G2: the request-head deadline (H1-1) and HPACK's allocation (H2-1)
- G2: a lingering close after a refusal (H1-2) (#1454)
- G2: SETTINGS and idle timeouts for HTTP/2 (H2-3) (#1454)
- G2: an idle timeout in the TLS carrier (TLS-4) (#1449)
- G2: a session clock and rate cap for WebTransport (WT-2) (#1454)
- G3: session tickets and PSK resumption, without 0-RTT
- G3:
secp256r1as a key-share group on the server (#1449, #1479);record_size_limit(#1467) - G4: AES-GCM on AES-NI with PCLMULQDQ and on AArch64 AES with PMULL
- G4: a faster P-256 (#1516, #1518)
- G5: a peer's address change, ECN, the AEAD limits and optimistic-ACK detection
- G5: path MTU discovery (#1458)
- G5: a congestion controller beyond NewReno, if a measurement asks for one
- G6: QUIC on more than one core (
docs/h3-multicore.md, #1470) - G7: h2c, cleartext HTTP/2 with prior knowledge,
nish/net/http2-cleartext(#1461) - G7: one handler for HTTP/1.1, 2 and 3, with
Alt-Svc: thenish/net/http-serverfaçade - G8: the
h2loadharness - G8: HTTP/2 and HTTP/3 figures in BENCHMARKS.md
- G9: move WebTransport's pin when Chrome moves past the draft (deferred)
- G10: the TLS client, chain validation and outbound HTTPS
Next
G7's façade, nish/net/http-server: one handler across HTTP/1.1, 2 and 3. Spec: docs/http-one-handler.md, and §3 Part B for the rest.
Open questions
E9: whether and when to submit to TechEmpower, a public number.
Not planned
Io_uring, sendfile, kernel TLS, 0-RTT, HTTP/2 server push.

