Willi Ballenthin 4dd8767597 fix Dechunk HTTP Response leaks terminating chunk and trailers into output
The loop did not break on chunkSize === 0, causing the terminating
chunk's trailing metadata (CRLF or trailer headers) to be appended
to the decoded output. Now break on the zero-length terminating chunk
and return only the decoded body.

closes #2247
2026-03-24 09:39:29 +01:00
..