You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
h2: support TLS for backend (upstream) connections #1218
Backend H2 connections are always Connection<TcpStream> (cleartext) in Router.backends: HashMap<Token, Connection<TcpStream>> at lib/src/protocol/mux/mod.rs.
This means H2 backend proxying uses h2c (cleartext HTTP/2) to upstreams. For environments requiring end-to-end encryption (e.g., mutual TLS to backends, zero-trust networking), backends should support TLS wrapping.
Current state
Frontend: supports both TcpStream (HTTP) and FrontRustls (HTTPS)
Backend: only TcpStream — no TLS
Possible approach
Introduce a backend TLS wrapper (similar to FrontRustls but for client-initiated connections)
Add a per-cluster backend_tls config flag alongside the existing http2 flag
Backend Connection<TlsStream> variant for TLS-wrapped upstreams
Priority
Low — most deployments terminate TLS at the proxy and use plaintext to trusted backends.
Activity
docs(tasks): B3-p shipped — H1 chunked trailers already worked end-to…
docs: document Shutdown::Both safety on three TCP-only sites
docs(tasks): B3-p shipped — H1 chunked trailers already worked end-to…
docs: document Shutdown::Both safety on three TCP-only sites
docs: close documentation sprint (#1220, #1221, #1222, #1155)
test(e2e): document protocol-pair matrix harness + applicable cells
docs: close documentation sprint (#1220, #1221, #1222, #1155)
test(e2e): document protocol-pair matrix harness + applicable cells
docs(tasks): B3-p shipped — H1 chunked trailers already worked end-to…
docs: document Shutdown::Both safety on three TCP-only sites
docs: close documentation sprint (sozu-proxy#1220, sozu-proxy#1221, s…
test(e2e): document protocol-pair matrix harness + applicable cells