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

go-pkgz / rest / 32198654843
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.24.0
DEFAULT BRANCH: master
Ran 18 Aug 2026 11:48PM UTC
Jobs 1
Files 25
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

18 Aug 2026 11:47PM UTC coverage: 96.936% (-0.7%) from 97.615%
32198654843

Pull #55

github

paskal
fix: send the 101 status line before the connection is handed over

WriteHeader only committed when a Content-Type was already set, so the plain
upgrade sequence, 101 with no content type followed by Hijack, recorded the
status and never forwarded it: Hijack set hijacked and close returned at that
guard, leaving the client with the raw protocol bytes and no status line where
net/http would have written one.

101 now commits immediately, which it can do because it carries no body to sniff
and is already excluded from compression. The regression test omits Content-Type
and reads the raw socket, so it fails without the fix.

Reported by umputun on #51.
Pull Request #55: Advertise Flusher and Hijacker only when the underlying writer has them

17 of 27 new or added lines in 1 file covered. (62.96%)

2 existing lines in 1 file now uncovered.

1645 of 1697 relevant lines covered (96.94%)

47.37 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
93.18
-5.52% gzip.go

Coverage Regressions

Lines Coverage ∆ File
2
97.98
-2.02% benchmarks.go
Jobs
ID Job ID Ran Files Coverage
1 32198654843.1 18 Aug 2026 11:48PM UTC 25
96.94
GitHub Action Run
Source Files on build 32198654843
  • Tree
  • List 25
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #55
  • PR Base - master (#32198203704)
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