Skip to content

fix: res.Body must close#1678

Open
yangdm0209 wants to merge 1 commit intoolivere:release-branch.v7from
yangdm0209:release-branch.v7
Open

fix: res.Body must close#1678
yangdm0209 wants to merge 1 commit intoolivere:release-branch.v7from
yangdm0209:release-branch.v7

Conversation

@yangdm0209
Copy link

It appears that there may be a goroutine leak due to a failure to close res.Body. This issue arises because the business logic involves frequent creation of clients, and the omission of closing res.Body is likely the cause of the leak.

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.

1 participant