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

[remote] Don't close streaming layers ourselves #768

Merged
merged 2 commits into from
Sep 11, 2020

Conversation

jonjohnsonjr
Copy link
Collaborator

"The request Body, if non-nil, will be closed by the underlying
Transport, even on errors."

https://golang.org/pkg/net/http/#Client.Do

Fixes #707

"The request Body, if non-nil, will be closed by the underlying
Transport, even on errors."

https://golang.org/pkg/net/http/#Client.Do

Fixes google#707
@codecov-commenter
Copy link

codecov-commenter commented Sep 11, 2020

Codecov Report

Merging #768 into master will decrease coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #768      +/-   ##
==========================================
- Coverage   79.03%   79.02%   -0.01%     
==========================================
  Files         102      102              
  Lines        4736     4735       -1     
==========================================
- Hits         3743     3742       -1     
  Misses        550      550              
  Partials      443      443              
Impacted Files Coverage Δ
pkg/v1/remote/write.go 67.23% <ø> (-0.12%) ⬇️

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 d42b6a2...80bef62. Read the comment docs.

@jonjohnsonjr jonjohnsonjr merged commit d7f8d06 into google:master Sep 11, 2020
@jonjohnsonjr jonjohnsonjr deleted the no-close-stream branch September 11, 2020 17:27
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.

Stream layer's reader seems to be closed before it is used
3 participants