1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-06-16 00:25:48 +02:00
Files
Shubham ( Kira ) 34bba828c6 Harden HTTP chunked response parsing.
Tolerate chunk extensions by stripping everything from the first ';' on the chunk-size line before parsing the hex size, and consume any chunk trailers (and the blank line that terminates them) following the terminating zero-size chunk so the connection is left aligned for reuse.

Treat the transfer-encoding value case-insensitively so "Chunked" is accepted as "chunked".

Reject a response that sets both transfer-encoding and content-length even when content-length is 0. The previous check keyed off contentSize > 0, so a zero content-length slipped through. Track whether the header was present with a dedicated flag and reject the ambiguous combination uniformly, as RFC 7230 permits.
2026-06-14 16:41:31 +07:00
..
2026-01-19 17:03:44 +07:00
2026-01-19 17:17:07 +07:00
2026-05-19 11:37:48 +09:00