Headline changes since v0.6.0:
Runtime / API:
- Router-Copyable via Arc-style refcounted boxed handlers; safe to
pass to multi-worker srv.serve(router^, num_workers=N) without
re-allocating per worker.
- HTTP/2 reactor wiring: one fd → one H2Connection, ALPN dispatch
at the TLS-acceptor handoff, h2c upgrade mid-stream from h1 to h2
(RFC 9113 §3.4, RFC 7540 §3.2). Unified reactor under
flare.http._unified_reactor_impl.
- HTTP/1.1 trailer fields (RFC 7230 §4.1.2 / §4.4): Response.trailers,
Trailer: header, smuggling guard, client-side parse off the chunked
decoder.
- h1.1 client connection pool: HttpClient.with_pool(...), idle reuse,
per-origin caps, stale-conn retry.
- WebSocket over h2 (RFC 8441): WsOverH2Stream + bootstrap_ws_over_h2;
Http2ClientConnection.send_extended_connect.
- permessage-deflate (RFC 7692) with no_context_takeover on both
sides + 16 MiB per-message decompressed cap.
- TLS session resumption (RFC 5077 / RFC 8446 §4.6.1) — server-side
ticket cache + client-side reconnect.
- Per-stream Cancel propagation: peer RST_STREAM → handler
cancel.cancelled(); GOAWAY / drain signal the matching cell.
Hardening:
- HPACK Huffman codec (scalar correct, H=1 wire-up, RFC 7541 §C.4
fixtures; SIMD shim shipped as parity fallback).
- CONTINUATION-flood / RAPID-RESET (CVE-2023-44487) state-machine
fuzz coverage.
- Bench harness stabilisation: 20s probes, cliff-fanout gates on
p99.9 / p99.99, transient-blip retry, absolute-p99 growth gate,
post-search validation pass with 8% back-off.
- Per-percentile σ over 5 runs surfaced in summary.md and the
published numbers: σ is the honesty meter for the tail.
Mojo 1.0.0b1 bump:
- Migrate the few sites that depended on the looser Span-lifetime /
destructor-ordering semantics (h2c client double-body fix, io_uring
bufring staging-copy).
- json 0.1.6, mozz 0.1.3.
Published numbers (TFB plaintext, EPYC 7R32 dev-box):
4-worker handler: flare_mc 212k req/s, p99 2.61±0.02 ms,
p99.99 3.25±0.10 ms
4-worker fast path: flare_mc_static 274k req/s
1-worker handler: flare 71k req/s, p99 3.01±0.18 ms
Co-authored-by: Cursor <cursoragent@cursor.com>