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

port hyperium/* as rama-http-core #347

Merged
merged 48 commits into from
Dec 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
b6379f2
init rama-http-core project with forked projects separate
GlenDC Nov 3, 2024
59c71d8
add FORK.md again (deleted by accident) + prepare h2 in fork dir
GlenDC Nov 3, 2024
7719e0c
move h2 into rama_http_core::h2
GlenDC Nov 4, 2024
0e9ca39
verify that h2spec (2.1.1) works and integrate into just/ci
GlenDC Nov 4, 2024
b3f0021
integration tests, examples and benches are now fully working in rama…
GlenDC Nov 4, 2024
0a33a54
fix qa-full errors
GlenDC Nov 4, 2024
8d0e7c0
Merge branch 'main' into feat/rama-http-core
GlenDC Nov 6, 2024
01ed5e3
Merge branch 'main' into feat/rama-http-core
GlenDC Nov 6, 2024
f249d37
Merge branch 'main' into feat/rama-http-core
GlenDC Nov 7, 2024
058c40c
Merge branch 'main' into feat/rama-http-core
GlenDC Nov 7, 2024
b851a8b
Merge branch 'main' into feat/rama-http-core
GlenDC Nov 7, 2024
c794d0c
Merge branch 'main' into feat/rama-http-core
GlenDC Nov 7, 2024
3bd745a
Merge branch 'main' into feat/rama-http-core
GlenDC Nov 8, 2024
14d0ac8
Merge branch 'main' into feat/rama-http-core
GlenDC Nov 8, 2024
a7db043
Merge branch 'main' into feat/rama-http-core
GlenDC Nov 8, 2024
3967023
Merge branch 'main' into feat/rama-http-core
GlenDC Nov 8, 2024
f8e7694
Merge branch 'main' into feat/rama-http-core
GlenDC Nov 8, 2024
203a42b
Merge branch 'main' into feat/rama-http-core
GlenDC Nov 8, 2024
3609a54
Merge branch 'main' into feat/rama-http-core
GlenDC Nov 18, 2024
1c2e4c6
Merge branch 'main' into feat/rama-http-core
GlenDC Nov 19, 2024
c0a20a2
Merge branch 'main' into feat/rama-http-core
GlenDC Nov 23, 2024
cd958fe
heavy wip: migrate hyper into rama-http-core
GlenDC Nov 24, 2024
493d54f
more wip
GlenDC Dec 5, 2024
d7ee8da
Merge branch 'main' into feat/rama-http-core
GlenDC Dec 10, 2024
2ec622a
Merge branch 'main' into feat/rama-http-core
GlenDC Dec 18, 2024
2ef5e9a
Merge branch 'main' into feat/rama-http-core
GlenDC Dec 18, 2024
3c58508
Merge branch 'main' into feat/rama-http-core
GlenDC Dec 22, 2024
f26c1a7
fix all obvious compile errors
GlenDC Dec 22, 2024
cb6d1fc
rama-http-core: clippy+fmt+check now all pass
GlenDC Dec 23, 2024
f0e6b42
just qa passes (rama-http-core), meaning docs and examples
GlenDC Dec 24, 2024
212778f
always preserve header order and casing for http1 (rama-http-core)
GlenDC Dec 24, 2024
f043666
add auto conn from hyper-util
GlenDC Dec 25, 2024
f1f8298
fix qa errors
GlenDC Dec 25, 2024
3335cb9
start porting hyper integration tests
GlenDC Dec 26, 2024
52c584e
port benchmarks open from hyper
GlenDC Dec 27, 2024
19b360b
move rama http core integration tests to tests/http-core
GlenDC Dec 27, 2024
161f720
fix broken http-core tests: timer in h2 was not reset
GlenDC Dec 27, 2024
3e1bc06
sync w/ upstream(h2): v0.4.6 => v0.4.7
GlenDC Dec 27, 2024
7845d74
sync w/ upstream(hyper): v1.5.0 => v1.5.1
GlenDC Dec 27, 2024
39708e1
sync w/ upstream(hyper): v1.5.1 => v1.5.2
GlenDC Dec 27, 2024
c073f96
sync w/ upstream(tower-rs/*)
GlenDC Dec 27, 2024
6abd68d
remove hyper* from codebase, all rama-http-core now
GlenDC Dec 27, 2024
5a9f96f
experiment with OriginalHeaderOrder for EchoService
GlenDC Dec 27, 2024
444547b
remove mutability needs of h1 client (one lock gone)
GlenDC Dec 28, 2024
662c97a
remove h2 lock as well. rama backend http client is now lock-free at …
GlenDC Dec 28, 2024
d5a915b
ignore install errors in CI
GlenDC Dec 28, 2024
80b72db
Merge branch 'main' into feat/rama-http-core
GlenDC Dec 28, 2024
c7ddbbb
Merge branch 'main' into feat/rama-http-core
GlenDC Dec 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
35 changes: 33 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ jobs:
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1

cargo-fuzz:
cargo-fuzz-ua:
needs: [check, check-msrv, check-all-features]
runs-on: ubuntu-latest
steps:
Expand All @@ -364,6 +364,35 @@ jobs:
run: |
cargo +nightly fuzz run ua_parse -- -max_len=131072 -max_total_time=30

cargo-fuzz-h2:
needs: [check, check-msrv, check-all-features]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: ${{env.RUST_TOOLCHAIN_NIGHTLY}}
- name: Install cargo-fuzz
run: |
cargo install cargo-fuzz 2>/dev/null || true
- name: cargo fuzz check
run: |
cargo +nightly fuzz run h2_client -- -max_total_time=30
cargo +nightly fuzz run h2_e2e -- -max_total_time=30
cargo +nightly fuzz run h2_hpack -- -max_total_time=30

test-spec-h2:
needs: [check, check-msrv, check-all-features]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{env.RUST_TOOLCHAIN}}
- name: h2spec
run: |
bash rama-http-core/ci/h2spec.sh -F

# action is not being updated atm
# TODO: enable once it works again, for now not that useful anyway
# semver-checks:
Expand Down Expand Up @@ -393,7 +422,9 @@ jobs:
- test-docs
- cargo-hack
- cargo-deny
- cargo-fuzz
- test-spec-h2
- cargo-fuzz-ua
- cargo-fuzz-h2
- dependencies-are-sorted
# - semver-checks
if: github.ref == 'refs/heads/main'
Expand Down
Loading
Loading