in src/connection/UndiciConnection.ts [201:208]
for await (const chunk of response.body) {
currentLength += Buffer.byteLength(chunk)
if (currentLength > maxCompressedResponseSize) {
response.body.destroy()
throw new RequestAbortedError(`The content length (${currentLength}) is bigger than the maximum allowed buffer (${maxCompressedResponseSize})`)
}
payload.push(chunk)
}