[PR #1201] [MERGED] Add support for limiting output size in Python streaming decompression #1764

Open
opened 2026-01-29 20:55:42 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/google/brotli/pull/1201
Author: @robryk
Created: 9/18/2024
Status: Merged
Merged: 1/6/2025
Merged by: @copybara-service[bot]

Base: masterHead: sizelimit


📝 Commits (2)

  • f1bdfaa add size limit to buffer
  • ef8922c add max_length to Python streaming decompression

📊 Changes

2 files changed (+196 additions, -67 deletions)

View changed files

📝 python/_brotli.c (+154 -67)
📝 python/tests/decompressor_test.py (+42 -0)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/google/brotli/pull/1201 **Author:** [@robryk](https://github.com/robryk) **Created:** 9/18/2024 **Status:** ✅ Merged **Merged:** 1/6/2025 **Merged by:** [@copybara-service[bot]](https://github.com/apps/copybara-service) **Base:** `master` ← **Head:** `sizelimit` --- ### 📝 Commits (2) - [`f1bdfaa`](https://github.com/google/brotli/commit/f1bdfaa803e62ce3608e0226c98da1cf20abebdc) add size limit to buffer - [`ef8922c`](https://github.com/google/brotli/commit/ef8922cee72a1c0b0c35ed109ae9d2d637177bfe) add max_length to Python streaming decompression ### 📊 Changes **2 files changed** (+196 additions, -67 deletions) <details> <summary>View changed files</summary> 📝 `python/_brotli.c` (+154 -67) 📝 `python/tests/decompressor_test.py` (+42 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 20:55:42 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1764