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!: Make HttpResponse an actor to make its properties thread-safe. #1323

Closed
wants to merge 8 commits into from

Conversation

sichanyoo
Copy link
Contributor

@sichanyoo sichanyoo commented Jan 30, 2024

Issue #

#1324

Addresses SIM ticket /V1219649867.

Description of changes

To address the data race warning shown in below screenshot, HttpResponse is made an actor in smithy-swift. Therefore, all related types must be updated where needed to use correct async keyword await in reading and writing properties of HttpResponse.

image

New/existing dependencies impact assessment, if applicable

Conventional Commits

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

@sichanyoo
Copy link
Contributor Author

Closing the PR, as simplified approach in smithy-lang/smithy-swift#656 nullifies need for any change in aws-sdk-swift.

@sichanyoo sichanyoo closed this May 29, 2024
@sichanyoo sichanyoo deleted the fix/remove-data-race branch May 29, 2024 00:22
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