Skip to content

fix: close HTTP response body and modernize deprecated stdlib usage - #558

Open
lixiangzhong wants to merge 3 commits into
domainr:mainfrom
lixiangzhong:fix/modernize-stdlib
Open

fix: close HTTP response body and modernize deprecated stdlib usage#558
lixiangzhong wants to merge 3 commits into
domainr:mainfrom
lixiangzhong:fix/modernize-stdlib

Conversation

@lixiangzhong

Copy link
Copy Markdown

This PR contains three commits:

  1. fix: close HTTP response body to release keep-alive connections
    • Response body is now closed, releasing keep-alive connections back to the pool.
  2. refactor: replace deprecated ioutil.ReadAll with io.ReadAll
  3. refactor: modernize deprecated and non-idiomatic stdlib usage

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