mirror of
https://github.com/google/brotli.git
synced 2026-09-24 23:56:16 +00:00
[PR #1234] [MERGED] Add support for limiting output size in Python streaming decompression, take 2 #1798
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/google/brotli/pull/1234
Author: @robryk
Created: 1/6/2025
Status: ✅ Merged
Merged: 1/8/2025
Merged by: @copybara-service[bot]
Base:
master← Head:sizelimit📝 Commits (4)
28ce91cadd size limit to buffereb3a31eadd max_length to Python streaming decompression4034fe3Merge branch 'master' into sizelimitd144c58Merge branch 'master' into sizelimit📊 Changes
4 files changed (+197 additions, -67 deletions)
View changed files
📝
python/_brotli.c(+155 -67)📝
python/tests/decompressor_test.py(+42 -0)➕
tests/testdata/zerosukkanooa(+0 -0)➕
tests/testdata/zerosukkanooa.compressed(+0 -0)📄 Description
This is a fixed version of #1201
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.