Repository navigation
fix: Ensure we drain the request data stream completely, even if we realize it is too large - #3291
Merged
nielsenko merged 1 commit intoMar 10, 2025
Conversation
nielsenko
force-pushed
the
fix-3213-error-during-request-read
branch
2 times, most recently
from
March 8, 2025 10:11
0d60727 to
6b75fd2
Compare
SandPod
approved these changes
Mar 10, 2025
SandPod
left a comment
Contributor
There was a problem hiding this comment.
LGTM! 👍
Single suggestion/discussion for improved readability
nielsenko
force-pushed
the
fix-3213-error-during-request-read
branch
from
March 10, 2025 07:15
6b75fd2 to
29097a5
Compare
performance: - Don't start reading, if contentLenght is too large - Use BytesBuffer copy flag to avoid copying data - Use takeBytes to avoid copying data - Ensure we drain the request data stream completely, even if we realize it is too large - Add e2e test for request too large This is a workaround to dart-lang/sdk#60271
nielsenko
force-pushed
the
fix-3213-error-during-request-read
branch
from
March 10, 2025 08:35
29097a5 to
d5c76ab
Compare
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This is a workaround to dart-lang/sdk#60271
fix: #3213
Pre-launch Checklist
///), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.