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

Close response body middleware log is not clear #425

Open
Insomnia0207 opened this issue May 10, 2023 · 1 comment
Open

Close response body middleware log is not clear #425

Insomnia0207 opened this issue May 10, 2023 · 1 comment

Comments

@Insomnia0207
Copy link

Insomnia0207 commented May 10, 2023

In middleware_close_response_body.go, if we fail to copy the response body or close the response body, we couldn't see the error from the log.
Code url: https://github.com/aws/smithy-go/blob/main/transport/http/middleware_close_response_body.go#L65-L76

@Insomnia0207
Copy link
Author

Some background is our log is flooded with
SDK 2023/05/12 03:04:40 WARN failed to close HTTP response body, this may affect connection reuse

But we couldn't know the cause

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

No branches or pull requests

1 participant