Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce httpwg crate #173

Merged
merged 60 commits into from
May 27, 2024
Merged

Introduce httpwg crate #173

merged 60 commits into from
May 27, 2024

Conversation

fasterthanlime
Copy link
Collaborator

@fasterthanlime fasterthanlime commented May 10, 2024

Closes #157

This gets rid of h2spec, the custom coverage script, and instead uses httpwg, a new Rust crate that is similar to h2spec in spirit, but allows running cases as Rust test cases.

There's only 3 test cases ported over so far, the rest will come later. All tests run in parallel now, and TCP isn't involved at all when they're run as unit tests. Due to the structure of httpwg / httpwg-gen / httpwg-macros, it's possible to generate a CLI, too.

In time, httpwg may move to its own repository (or even change name). For now, it's being developed together with fluke, since it reuses some of the base code (fluke-h2-parse, for starters), much like h2spec uses Go's http2 (de)framer.

@fasterthanlime fasterthanlime marked this pull request as ready for review May 27, 2024 18:42
@fasterthanlime fasterthanlime added this pull request to the merge queue May 27, 2024
Merged via the queue into main with commit 45de242 May 27, 2024
2 checks passed
@fasterthanlime fasterthanlime deleted the httpwg branch May 27, 2024 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bring HTTP/2 specs in-house
1 participant