test(browser): Chrome, Firefox and WebKit against our HTTP/2 and HTTP/3 servers

Aperta
#58 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
c, playwright

Direzione di ricerca

Start with H2H3.md and the existing servers-interop target in the Makefile to see how the curl and aioquic interop checks are run. Then read examples/h2_server and examples/h3_server to learn how each is launched and which TLS certificates they use. Done means one repeatable script drives Chrome, Firefox and WebKit through Playwright against both servers, checks each resource's bytes, confirms the negotiated protocol from the browser network log, and is wired into make.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

P0: release blocker

H2H3.md says our servers haven't been tested against browsers yet. Real clients so far are curl (HTTP/2) and aioquic (HTTP/3). Browsers send what synthetic clients don't: bursts of prioritized requests (RFC 9218 and Chrome's own scheme), QPACK with a dynamic table and blocked streams, 0-RTT, GREASE frames, settings and stream types, and connection reuse across origins.

  • Chrome, Firefox and Safari/WebKit loading a page with many subresources from examples/h2_server (TLS) and examples/h3_server, through headless automation (Playwright) on 127.0.0.1, with locally trusted certificates.
  • HTTP/3 forced with --origin-to-force-quic-on in Chrome and the equivalent preferences in Firefox.
  • Check that every resource loads with the right bytes, and that the protocol really was h2 or h3 (from the browser's own network log).

Done when: a repeatable script runs all three browsers against both servers, passes, and is wired into make like servers-interop.

Lingua principale
C
Stelle
0
Fork
0
Merge medio
20h 4m
PR unite (30g)
25

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di public/cursed-http

Tutte le issue di public/cursed-http

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.