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

enetx / surf / 21516995010 / 1
81%
main: 83%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.0.184
DEFAULT BRANCH: main
Ran 30 Jan 2026 01:14PM UTC
Files 33
Run time 1s
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

30 Jan 2026 01:10PM UTC coverage: 80.883% (-0.4%) from 81.276%
21516995010.1

push

github

enetx
fix(core): improve HTTP/2 connection lifecycle and context cancellation

Body changes:
- Add setupContextCancel() call in Dump() method to support context cancellation during file write operations
- Fix bug where cached empty body would attempt to read from exhausted Reader instead of writing empty file

ConnectProxy changes:
- Add closeOnError parameter to connectHTTP2() to control connection closing on errors
- Fix race condition in DialContext() by checking both conn and h2Conn before cleanup
- Add ownsConn flag to http2Conn to properly manage connection ownership when concurrent goroutines create new connections
- Implement Close() method for proxyDialer to allow explicit resource cleanup
- Prevent connection leaks when multiple goroutines attempt to establish HTTP/2 proxy connections simultaneously

The changes ensure proper connection reuse, prevent race conditions in concurrent scenarios, and add support for context cancellation in body dump operations.

3097 of 3829 relevant lines covered (80.88%)

73.29 hits per line

Source Files on job 21516995010.1
  • Tree
  • List 33
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21516995010
  • 1f35d5d0 on github
  • Prev Job for on refs/tags/v1.0.178 (#21510756790.1)
  • 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