Skip to content

Commit

Permalink
Merge pull request #150 from bearcove/flow-control
Browse files Browse the repository at this point in the history
Implement flow control
  • Loading branch information
fasterthanlime authored Mar 30, 2024
2 parents cbac15f + 86feb9d commit d13bccd
Show file tree
Hide file tree
Showing 22 changed files with 1,041 additions and 233 deletions.
10 changes: 5 additions & 5 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,21 @@ test *args:
just build-testbed
RUST_BACKTRACE=1 cargo nextest run {{args}}

curl-tests:
RUST_BACKTRACE=1 cargo nextest run --manifest-path test-crates/fluke-curl-tests/Cargo.toml
curl-tests *args:
just build-testbed
RUST_BACKTRACE=1 cargo nextest run --no-capture --manifest-path test-crates/fluke-curl-tests/Cargo.toml {{args}}

build-testbed:
cargo build --release --manifest-path test-crates/hyper-testbed/Cargo.toml

single-test *args:
just test --no-capture {{args}}

bench *args:
RUST_BACKTRACE=1 cargo bench {{args}} -- --plotting-backend plotters

h2spec *args:
#!/bin/bash -eux
#!/bin/bash -eux
export RUST_LOG="${RUST_LOG:-fluke=debug,fluke_hpack=info}"
export RUST_BACKTRACE="${RUST_BACKTRACE:-1}"
cargo run --manifest-path test-crates/fluke-h2spec/Cargo.toml -- {{args}}
Expand All @@ -57,4 +58,3 @@ check:

ktls-sample:
cargo run --manifest-path test-crates/fluke-tls-sample/Cargo.toml

4 changes: 3 additions & 1 deletion crates/fluke-buffet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ miri = []
[dependencies]
eyre = "0.6.12"
http = "1.1.0"
fluke-maybe-uring = { version = "0.1.1", path = "../fluke-maybe-uring" }
fluke-maybe-uring = { version = "0.1.1", path = "../fluke-maybe-uring", features = [
"net",
] }
memchr = "2.7.1"
memmap2 = { version = "0.9.4", default-features = false }
nom = "7.1.3"
Expand Down
Loading

0 comments on commit d13bccd

Please sign in to comment.