Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ jobs:
runs-on: ubuntu-latest
env:
RUSTFLAGS: ""
# Reuse dependencies across the standalone example workspaces.
CARGO_TARGET_DIR: ${{ github.workspace }}/target
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down
40 changes: 22 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 11 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ exclude = [
resolver = "2"

[workspace.package]
version = "2.7.0"
version = "2.7.1"
edition = "2024"
# Track the latest stable. We rely on let-chains, async-fn-in-trait HRTB
# inference fixes (rustc#100013), and edition 2024. Bumping is non-breaking
Expand Down Expand Up @@ -117,6 +117,9 @@ prometheus = "0.14.0"
prost = "0.14.1"
prost-types = "0.14.1"
quinn = "0.11.12"
# Enforce patched transitive versions for downstream HTTP/3 users too.
quinn-proto = { version = "0.11.19", default-features = false }
quinn-udp = { version = "0.5.16", default-features = false }
quote = { version = "1" }
rcgen = { version = "0.14.10", default-features = false, features = ["aws_lc_rs"] }
rustls = "0.23.45"
Expand All @@ -137,13 +140,13 @@ subtle = "2.6.1"
syn = { version = "2" }
# Path-only doctest dependencies are omitted from published crates, avoiding an umbrella cycle.
tako-rs = { path = "tako-rs" }
tako-rs-core = { path = "tako-rs-core", version = "2.7.0" }
tako-rs-extractors = { path = "tako-rs-extractors", version = "2.7.0" }
tako-rs-macros = { path = "tako-rs-macros", version = "2.7.0" }
tako-rs-plugins = { path = "tako-rs-plugins", version = "2.7.0" }
tako-rs-server = { path = "tako-rs-server", version = "2.7.0" }
tako-rs-server-pt = { path = "tako-rs-server-pt", version = "2.7.0" }
tako-rs-streams = { path = "tako-rs-streams", version = "2.7.0" }
tako-rs-core = { path = "tako-rs-core", version = "2.7.1" }
tako-rs-extractors = { path = "tako-rs-extractors", version = "2.7.1" }
tako-rs-macros = { path = "tako-rs-macros", version = "2.7.1" }
tako-rs-plugins = { path = "tako-rs-plugins", version = "2.7.1" }
tako-rs-server = { path = "tako-rs-server", version = "2.7.1" }
tako-rs-server-pt = { path = "tako-rs-server-pt", version = "2.7.1" }
tako-rs-streams = { path = "tako-rs-streams", version = "2.7.1" }
thread_local = "1.1.10"
tikv-jemallocator = "0.7.0"
tokio = { version = "1.53.3", features = ["fs", "io-util", "macros", "net", "rt", "rt-multi-thread", "signal", "sync", "time"] }
Expand Down
16 changes: 16 additions & 0 deletions docs/releases/2.7.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Tako 2.7.1 fixes HTTP/3 early responses and updates vulnerable QUIC dependencies. Requires Rust 1.95+.

### Fixes

- Dropping an unread or partially read HTTP/3 request body now stops the upload with `H3_NO_ERROR`, so clients accept the completed response. Cancelling a pending body read also releases the stream correctly on Tokio and compio.
- The Tokio HTTP/3 transport keeps receive streams available during cancelled reads, avoiding a panic in the released h3-quinn adapter. Request bodies remain streamed and early responses do not wait for the full upload.
- HTTP/3 dependencies require quinn-proto 0.11.19 and quinn-udp 0.5.16 or newer compatible versions, addressing RUSTSEC-2026-0523, RUSTSEC-2026-0524, and RUSTSEC-2026-0538 for downstream users as well.

### Maintenance

- Added network-level regression coverage for unread, partially read, and cancelled request bodies, including connection reuse after the response.
- Removed six redundant tests and unused release-script argument handling.

Existing public APIs and runtime defaults remain compatible with 2.7.0.

[Full diff](https://github.com/rust-dd/tako/compare/v2.7.0...v2.7.1)
18 changes: 9 additions & 9 deletions examples/auth/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions examples/autobahn-echo-compio/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading