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: close http response body only if there is no error #2447

Merged
merged 1 commit into from
Sep 15, 2022

Conversation

atzoum
Copy link
Contributor

@atzoum atzoum commented Sep 15, 2022

Description

Treating improper (nil) body close

Security

  • The code changed/added as part of this pull request won't create any security issues with how the software is being used.

@atzoum atzoum marked this pull request as ready for review September 15, 2022 11:49
@atzoum atzoum merged commit ef72aee into release/1.1.x Sep 15, 2022
@atzoum atzoum deleted the fix.httpBodyClose branch September 15, 2022 11:59
atzoum added a commit that referenced this pull request Sep 16, 2022
* fix: close http response body only if there is no error (#2447)

* chore: release 1.1.1 (#2448)

Co-authored-by: Rudder Bot (server team) <[email protected]>
fracasula added a commit that referenced this pull request Oct 3, 2022
* fix: close http response body only if there is no error (#2447)

* exp: test to reproduce

* fix: fallback to standar lib json and report

* fmt

* fix: snowflake identifier issue (#2471)

* chore: release 1.1.2 (#2472)

* lint

* Apply suggestions from code review

Co-authored-by: Francesco Casula <[email protected]>

* pr fixes

* chore: changing log entry

* chore: removing unnecessary inits

* chore: re-panicking

Co-authored-by: Aris Tzoumas <[email protected]>
Co-authored-by: Akash Chetty <[email protected]>
Co-authored-by: Rudder Bot (server team) <[email protected]>
Co-authored-by: Francesco Casula <[email protected]>
Co-authored-by: Francesco Casula <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants