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

enetx / surf / 22113117382
83%

Build:
DEFAULT BRANCH: main
Ran 17 Feb 2026 07:47PM UTC
Jobs 1
Files 34
Run time 1min
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

17 Feb 2026 07:44PM UTC coverage: 83.42% (-0.2%) from 83.656%
22113117382

push

github

enetx
fix: multiple improvements and bug fixes across the library

Stream support:
- buildBody: early intercept any io.Reader type before type switch
- Body: default ContentLength to -1 (chunked) for streams with unknown size
- Body: use io.ReadCloser directly when available, avoiding double NopCloser wrap

Bug fixes:
- tlsGrabber: guard against empty PeerCertificates to prevent panic
- gzipReadCloser: don't return corrupted reader to sync.Pool on Close error
- dnsovertls: use comma-ok type assert for *net.TCPConn to prevent panic
- basicAuthMW: split on first colon only, preserving colons in passwords
- buildStringBody: stricter isFormEncoded check to avoid false positives
- decodeBodyMW: support stacked Content-Encoding (e.g. gzip, deflate)
- SSE parser: concatenate multi-line data fields per spec instead of overwriting
- SSE parser: skip dispatching events with no accumulated data
- TransportAdapter: set Body on Response so decodeBodyMW applies via Std()
- tlsConfigMW: propagate custom TLS config to existing transport

Improvements:
- Add Options, Connect, Trace HTTP method helpers on Client
- Remove middleware mutex (client is not modified concurrently after Build)

68 of 81 new or added lines in 9 files covered. (83.95%)

7 existing lines in 1 file now uncovered.

3225 of 3866 relevant lines covered (83.42%)

77.73 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
88.52
-1.72% client.go
4
67.61
-0.97% dnsovertls.go
2
80.0
-3.67% pools.go
1
85.71
-14.29% pkg/sse/sse.go

Coverage Regressions

Lines Coverage ∆ File
7
85.71
-14.29% pkg/sse/sse.go
Jobs
ID Job ID Ran Files Coverage
1 22113117382.1 17 Feb 2026 07:47PM UTC 34
83.42
GitHub Action Run
Source Files on build 22113117382
  • Tree
  • List 34
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 60668957 on github
  • Prev Build on main (#22110946490)
  • Next Build on main (#22253250449)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc