Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix: Stream error handling #743

Merged
merged 3 commits into from
May 30, 2024
Merged

fix: Stream error handling #743

merged 3 commits into from
May 30, 2024

Conversation

jbelkins
Copy link
Contributor

Issue #

awslabs/aws-sdk-swift#1529

Description of changes

Ensure that BufferedStream and other stream types handle errors correctly.

also:

  • Mark BufferedStream as @unchecked Sendable since it enforces exclusive access when called concurrently.

Scope

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jbelkins jbelkins changed the title fix: BufferedStream error handling fix: Stream error handling May 30, 2024
Copy link
Contributor

@sichanyoo sichanyoo left a comment

Choose a reason for hiding this comment

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

Error actually isn't being thrown in any of the new test cases.

The fix PR: #744

Copy link
Contributor

@sichanyoo sichanyoo left a comment

Choose a reason for hiding this comment

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

Lgtm!

@jbelkins jbelkins merged commit b1e14ef into main May 30, 2024
17 checks passed
@jbelkins jbelkins deleted the jbe/stream_error_handling branch May 30, 2024 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants