• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

go-pkgz / requester
93%
main: 88%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: main
Repo Added 17 Dec 2020 04:59AM UTC
Files 11
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • chore/example-deps
  • chore/go-fix
  • chore/update-deps
  • ci/lift-actions
  • fix-ci-caching
  • fix/cache-key-host
  • fix/redirect-credential-leak
  • fix/with-middleware-aliasing
  • initernal-middlewares
  • main
  • master
  • refs/tags/v0.0.1
  • refs/tags/v0.0.2
  • refs/tags/v0.0.3
  • refs/tags/v0.0.4
  • refs/tags/v0.1.0
  • refs/tags/v0.2.0
  • refs/tags/v0.2.1
  • refs/tags/v0.3.0
  • refs/tags/v0.4.0
  • refs/tags/v0.4.1
  • refs/tags/v0.5.0
  • repater-no-codes
  • retry-close-discarded
  • switch-to-repeater-v2

06 Oct 2026 04:35PM UTC coverage: 92.767% (+0.08%) from 92.687%
37496913882

push

github

web-flow
fix: close retried responses in retry middleware (#16)

Retry kept a response it decided to retry in lastResponse and looped, and
nothing closed its body. Each retried response held one TCP connection and
its transport goroutines for the lifetime of the client.

RoundTrip closes the body of a response dropped in favor of another attempt,
for a retryable status and for a response returned together with an error.
The response of the last attempt is returned to the caller open, as before.

The body is closed without draining. A read in the middleware has no time
bound and would block the retry when an upstream sends headers and stalls
the body. The go1.27.1 transport drains on close within its own limits and
reuses the connection. The go1.25.0 transport does not, so there a retried
response costs a new connection, which is closed and no longer leaked.

Related to #15

12 of 12 new or added lines in 1 file covered. (100.0%)

590 of 636 relevant lines covered (92.77%)

21.63 hits per line

Relevant lines Covered
Build:
Build:
636 RELEVANT LINES 590 COVERED LINES
21.63 HITS PER LINE
Source Files on main
  • Tree
  • List 11
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
37496913882 master fix: close retried responses in retry middleware (#16) Retry kept a response it decided to retry in lastResponse and looped, and nothing closed its body. Each retried response held one TCP connection and its transport goroutines for the lifetime ... push 06 Oct 2026 04:36PM UTC web-flow github
92.77
37496470397 retry-close-discarded fix: close retried responses in retry middleware Retry kept a response it decided to retry in lastResponse and looped, and nothing closed its body. Each retried response held one TCP connection and its transport goroutines for the lifetime of the... Pull #16 06 Oct 2026 04:33PM UTC umputun github
92.77
32228803960 refs/tags/v0.5.0 fix: keep credentials on the host the request started from (#13) * fix: keep credentials on the host the request started from Header and BasicAuth restored credentials on every hop, including the ones the client stripped when a redirect left the... push 19 Aug 2026 07:39AM UTC web-flow github
92.69
32227807448 master fix: keep credentials on the host the request started from (#13) * fix: keep credentials on the host the request started from Header and BasicAuth restored credentials on every hop, including the ones the client stripped when a redirect left the... push 19 Aug 2026 07:26AM UTC web-flow github
92.69
32225751349 fix/redirect-credential-leak ci: limit the workflow token to reading the repository The job checks out, builds, lints and posts coverage to coveralls, none of which writes to the repository, so the token gets contents: read as the rest of the org does it. Pull #13 19 Aug 2026 06:59AM UTC paskal github
92.69
32225408215 fix/redirect-credential-leak chore: update example dependencies lcw to v1.2.0, which drops hashicorp/errwrap and go-multierror and brings go-redis v9.18.0 and go.uber.org/atomic. The go directive stays at 1.23, so go-redis stops at v9.18.0: v9.19.0 needs go 1.24 and the cur... Pull #13 19 Aug 2026 06:55AM UTC paskal github
92.69
32224768447 chore/example-deps chore: update example dependencies lcw to v1.2.0, which drops hashicorp/errwrap and go-multierror and brings go-redis v9.18.0 and go.uber.org/atomic. The go directive stays at 1.23, so go-redis stops at v9.18.0: v9.19.0 needs go 1.24 and the cur... Pull #14 19 Aug 2026 06:46AM UTC paskal github
92.35
32221645699 fix/redirect-credential-leak fix: keep credentials on the host the request started from Header and BasicAuth restored credentials on every hop, including the ones the client stripped when a redirect left the original host, so a 302 to another host received them. Credentials... Pull #13 19 Aug 2026 06:01AM UTC paskal github
92.77
32208381436 refs/tags/v0.4.1 chore: update dependencies (#12) testify to v1.12.0, which no longer needs go-spew and go-difflib, so the module graph loses two entries. _example gets patch-level updates only, go-redis v9.17.3 and a tidy that drops the stale go-redis v7 and pk... push 19 Aug 2026 02:23AM UTC web-flow github
92.35
32206000540 master chore: update dependencies (#12) testify to v1.12.0, which no longer needs go-spew and go-difflib, so the module graph loses two entries. _example gets patch-level updates only, go-redis v9.17.3 and a tidy that drops the stale go-redis v7 and pk... push 19 Aug 2026 01:45AM UTC web-flow github
92.35
See All Builds (69)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc