Skip to content

Clean up connection reuse code inside Do func as now Go HTTP packge does it internally #1645

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

Merged
merged 1 commit into from
Nov 14, 2020

Conversation

itsksaurabh
Copy link
Contributor

@itsksaurabh itsksaurabh commented Nov 12, 2020

The changes in the PR #1576 are not needed now as the latest official Go Http package does it internally. So Now, it is possible to remove the code from the PR.

https://github.com/golang/go/blob/master/src/net/http/client.go#L698

closes #1646

@google-cla google-cla bot added the cla: yes Indication that the PR author has signed a Google Contributor License Agreement. label Nov 12, 2020
@codecov
Copy link

codecov bot commented Nov 12, 2020

Codecov Report

Merging #1645 (b317319) into master (0b47475) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1645      +/-   ##
==========================================
- Coverage   70.02%   70.00%   -0.02%     
==========================================
  Files          97       97              
  Lines        6328     6324       -4     
==========================================
- Hits         4431     4427       -4     
  Misses        981      981              
  Partials      916      916              
Impacted Files Coverage Δ
github/github.go 89.65% <100.00%> (-0.13%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0b47475...b317319. Read the comment docs.

Copy link
Collaborator

@gmlewis gmlewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @itsksaurabh !
LGTM.

Awaiting second LGTM before merging.

@itsksaurabh
Copy link
Contributor Author

Thank you @gmlewis :)

Copy link
Contributor

@nightlark nightlark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gmlewis
Copy link
Collaborator

gmlewis commented Nov 14, 2020

Thank you, @nightlark !
Merging.

@gmlewis gmlewis merged commit c5b0f21 into google:master Nov 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Indication that the PR author has signed a Google Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clean up TCP connection reuse code inside Do func as now Go HTTP packge does it internally
3 participants