Allow decompression to continue after exceeding max_length#11966
Open
Dreamsorcerer wants to merge 138 commits intomasterfrom
Open
Allow decompression to continue after exceeding max_length#11966Dreamsorcerer wants to merge 138 commits intomasterfrom
Dreamsorcerer wants to merge 138 commits intomasterfrom
Conversation
Dreamsorcerer
commented
Jan 15, 2026
Dreamsorcerer
commented
Jan 15, 2026
Dreamsorcerer
commented
Jan 15, 2026
Dreamsorcerer
commented
Jan 15, 2026
❌ 1 Tests Failed:
View the full list of 1 ❄️ flaky test(s)
To view more test analytics, go to the Test Analytics Dashboard |
CodSpeed Performance ReportMerging this PR will degrade performance by 42.58%Comparing Summary
Performance Changes
|
Dreamsorcerer
commented
Jan 15, 2026
for more information, see https://pre-commit.ci
…nto Dreamsorcerer-patch-5
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Dreamsorcerer
commented
Feb 3, 2026
Dreamsorcerer
commented
Feb 4, 2026
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Dreamsorcerer
commented
Feb 4, 2026
aiohttp/multipart.py
Outdated
| payload_type, | ||
| ) | ||
| from .streams import StreamReader | ||
| from .web_exceptions import HttpRequestEntityTooLarge |
Member
Author
There was a problem hiding this comment.
Maybe we need to pass this class into MultipartReader or something? We shouldn't really be importing any web modules here.
Dreamsorcerer
commented
Feb 5, 2026
Member
Author
|
I'm pulling out the .read_chunk(decode=True). If someone wants to work on implementing that in a separate PR, the test is: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Architecture summary:
b""to get more data. The decompression output has been reduced to 256KiB, matching the socket read limit.b"".