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(s3-request-presigner): not mutate client middleware stack #3751

Merged
merged 1 commit into from Jun 28, 2022

Conversation

AllanZhengYP
Copy link
Contributor

Issue

Resolves: #3672

Description

The original solution will injest a middleware to S3 client to intersect the request to generate a presigned URL. The new solution will create a shallow clone of the input client's middleware stack and use it to generate presigned URL.

Testing

Unit test


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@AllanZhengYP AllanZhengYP marked this pull request as ready for review June 27, 2022 22:48
@AllanZhengYP AllanZhengYP requested a review from a team as a code owner June 27, 2022 22:48
@AllanZhengYP AllanZhengYP merged commit cbe8126 into aws:main Jun 28, 2022
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Race condition in s3-request-presigner because client is mutated
2 participants