Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove payload length cap from Event Stream messages #3371

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

nateprewitt
Copy link
Contributor

In initial implementations of Event Streams, there was a 16MB payload limit for Event Stream payloads. Anything exceeding that was considered malformed. In more modern implementations, that limit has been raised with some services using 24MB. We'll be removing this client-side check going forward as it doesn't serve a practical purpose. The checksum will be used to validate the payload and size limitations will be left to the service to determine going forward.

@nateprewitt
Copy link
Contributor Author

Windows builds seem to be struggling with the larger payload. I'll investigate what's currently failing, it's not clear in the logs.

@codecov-commenter
Copy link

codecov-commenter commented Feb 3, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Please upload report for BASE (develop@33ef2f7). Learn more about missing BASE report.
Report is 172 commits behind head on develop.

Files with missing lines Patch % Lines
botocore/eventstream.py 0.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #3371   +/-   ##
==========================================
  Coverage           ?   93.05%           
==========================================
  Files              ?       66           
  Lines              ?    14478           
  Branches           ?        0           
==========================================
  Hits               ?    13472           
  Misses             ?     1006           
  Partials           ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@jonathan343 jonathan343 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@nateprewitt nateprewitt merged commit 1a2ebd8 into boto:develop Feb 6, 2025
40 checks passed
aws-sdk-python-automation added a commit that referenced this pull request Feb 6, 2025
* release-1.36.15:
  Bumping version to 1.36.15
  Update partitions file
  Update endpoints model
  Update to latest models
  Remove payload length cap from Eventstream messages (#3371)
hswong3i pushed a commit to alvistack/boto-botocore that referenced this pull request Feb 7, 2025
SamRemis pushed a commit to SamRemis/botocore that referenced this pull request Feb 11, 2025
SamRemis pushed a commit to SamRemis/botocore that referenced this pull request Feb 18, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants