Skip to content

Upgrade Sozu to 2.2.0 - #124

Merged
Shine-neko merged 2 commits into
mainfrom
chore/upgrade-sozu-2.2.0
Jul 20, 2026
Merged

Upgrade Sozu to 2.2.0#124
Shine-neko merged 2 commits into
mainfrom
chore/upgrade-sozu-2.2.0

Conversation

@Shine-neko

@Shine-neko Shine-neko commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Upgrades Sozu from 2.1.0 to 2.2.0.

What comes with it

2.1.1 : WebSocket fixes in the pipe layer (symmetric write rearming, byte preservation after upgrade, restored upgrade readiness) and a security bump for RUSTSEC-2026-0190.

2.2.0 : SNI+ALPN ClientHello preread passthrough routing (#1279), HTTP/1 Transfer-Encoding framing hardening (reopens #726), kawa 0.7.1. MSRV raised to 1.91, which our pinned Rust 1.95.0 already satisfies.

Why the lockfile diff is large

No application code changed, the source diff is two lines. Sozu 2.2.0 raises three version floors (log ^0.4.33, mio ^1.2.2, rustls ^0.23.42) that the lockfile pinned lower, so resolution needed a global cargo update. That also pulled wasmtime and the wit-bindgen tree forward, hence 460/-645 in Cargo.lock.

Constraining the update to only the required crates was possible but more fragile.

Note on rustls backends

cheti pulls rustls with the ring backend while Sozune declares aws-lc-rs, so both providers now coexist in the binary. Not a problem: install_default() is called explicitly on aws_lc_rs at both TLS entry points (src/acme/mod.rs:328, src/provider/kubernetes/mod.rs:111). Pre-existing, not introduced here.

Follow-up

The 2.2.0 SNI+ALPN preread unblocks three board items, to be handled in separate PRs: TCP routing with SNI, Gateway API: TLSRoute, and TLS-ALPN-01 challenge.

@Shine-neko
Shine-neko merged commit 5397b89 into main Jul 20, 2026
3 checks passed
@Shine-neko
Shine-neko deleted the chore/upgrade-sozu-2.2.0 branch July 20, 2026 10:37
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.

1 participant