Skip to content

ensure http response body is closed#1103

Open
gammazero wants to merge 2 commits intomainfrom
close-http-resp-body
Open

ensure http response body is closed#1103
gammazero wants to merge 2 commits intomainfrom
close-http-resp-body

Conversation

@gammazero
Copy link
Contributor

When appropriate, consume all body data before close to allow connection reuse.

When appropriate, consume all body data before close to allow connection reuse.
@gammazero gammazero requested review from a team and lidel as code owners February 7, 2026 10:45
@gammazero gammazero changed the title Ensure http response body is closed ensure http response body is closed Feb 7, 2026
@codecov
Copy link

codecov bot commented Feb 7, 2026

Codecov Report

❌ Patch coverage is 55.55556% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 61.66%. Comparing base (77bd614) to head (c6f5730).

Files with missing lines Patch % Lines
filestore/fsrefstore.go 0.00% 4 Missing ⚠️

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1103      +/-   ##
==========================================
- Coverage   61.67%   61.66%   -0.02%     
==========================================
  Files         265      265              
  Lines       26528    26528              
==========================================
- Hits        16362    16358       -4     
- Misses       8481     8484       +3     
- Partials     1685     1686       +1     
Files with missing lines Coverage Δ
bitswap/network/httpnet/httpnet.go 59.17% <100.00%> (+0.10%) ⬆️
gateway/backend_car_fetcher.go 80.51% <100.00%> (-0.50%) ⬇️
routing/http/client/client.go 75.53% <100.00%> (+0.06%) ⬆️
filestore/fsrefstore.go 46.10% <0.00%> (ø)

... and 10 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant