feat(http2): inflate gzip response bodies over HTTP1 #15221
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15221"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-11-02T21:08:47Z.
What
Inflate HTTP/1.0 and HTTP/1.1 gzip responses using the shared gzip decoder on main. Deframe fixed-length, chunked or connection-close bodies before decoding, use one receive deadline for the full operation, and preserve the encoded/decoded size limits. With inflation disabled, expose wire bytes and original framing metadata. Existing HEAD/bodyless coverage is retained.
The branch is one topic commit on main, without merge commits. This refresh preserves main's
Limit/ReceiveTimedOuthandling,RequestFailureand sticky read-error behavior, and newer transport fixtures. The gzip fixture modes remain contiguous for the fixture's range predicates, and plaintext requests use the server's current URL helper. The shared gzip parser is unchanged. Remaining buffering, decoded-length and unmeasured console error-contract gaps remain in the existing debt entry.Tested
Main
145e689adab572c44a99369516565d28e85f6c12; refreshed head90875224f7d68da480ffb19bea6a06a387c7c631. Linux 7.2.14, Ryzen 9 7950X, GCC 16.2.1 Release.ctest -R '^guest_http2' -V: main 14/14, change 15/15, zero skips. Includes all current main transport/cookie/authentication groups and the additional HTTP1 gzip group covering versions 1/2, fixed/chunked/close framing, split/large/empty bodies, concatenated members/optional headers, plaintext, inflation on/off and length before/after read. Existing cancellation/deadline coverage includes stalled gzip input with main's current timeout result.libSceHttp2.prxwith main's module fails at the missing HTTP1 gzip guard; the changed module passes. Fixture SHA-256bdeecb01fde12802324587eb45b57b12223b09502f6763db191a71c564b5f72cis unchanged.origin/main. Clean merge against current main was verified before pushing. No unchanged-production-patch-ID claim: adapting to main's new typed deadlines changes the textual patch.Reviewed build/CTest/JUnit, exact-module negative control, linkage proofs and source patch, SHA-256
c3a31250cd2cc20dbcaacf193c738123a02a2b4827c9b99c37d0a6b1ac70c519(20810 bytes). Download and all 33 archive members verified.Checklist
main; no other open PR implements the same functions