Skip to content

rpc: add gzip response compression#3595

Open
amir-deris wants to merge 18 commits into
mainfrom
amir/plt-640-rpc-compression-phase-1
Open

rpc: add gzip response compression#3595
amir-deris wants to merge 18 commits into
mainfrom
amir/plt-640-rpc-compression-phase-1

rpc: skip gzip for range responses and panic-in-flight footer

affed4d
Select commit
Loading
Failed to load commit list.
Seidroid / AI Review succeeded Jul 15, 2026 in 0s

Claude + Codex + Cursor Review: success

Adds a well-tested gzip response-compression middleware wired into the Tendermint and Cosmos RPC/API servers; the implementation is careful (Accept-Encoding q-values, WebSocket/Hijack passthrough, bodyless-status and panic handling) but omits Content-Type preservation before compressing, which can produce a wrong sniffed Content-Type for handlers that rely on auto-detection.