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] - Inadvertent s3 body close #3491

Merged
merged 2 commits into from
Oct 22, 2024
Merged

[fix] - Inadvertent s3 body close #3491

merged 2 commits into from
Oct 22, 2024

Conversation

ahrav
Copy link
Collaborator

@ahrav ahrav commented Oct 22, 2024

Description:

This PR fixes the issue where the context is canceled immediately after the anonymous function returns, which inadvertently closes the connection associated with res.Body.

Checklist:

  • Tests passing (make test-community)?
  • Lint passing (make lint this requires golangci-lint)?

@ahrav ahrav marked this pull request as ready for review October 22, 2024 02:20
@ahrav ahrav requested a review from a team as a code owner October 22, 2024 02:20
@ahrav ahrav changed the title [fix] - Inadvertent body close [fix] - Inadvertent s3 body close Oct 22, 2024
@ahrav ahrav requested a review from a team October 22, 2024 02:23
@ahrav ahrav merged commit 2d1dc73 into main Oct 22, 2024
13 checks passed
@ahrav ahrav deleted the fix-s3 branch October 22, 2024 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants