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

go-pkgz / rest / 32198708772
97%

Build:
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:48PM UTC coverage: 96.939% (-0.7%) from 97.615%
32198708772

push

github

umputun
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.

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

14 existing lines in 2 files now uncovered.

1647 of 1699 relevant lines covered (96.94%)

47.36 hits per line

Coverage Regressions

Lines Coverage ∆ File
12
93.18
-5.52% gzip.go
2
98.02
-1.98% benchmarks.go
Jobs
ID Job ID Ran Files Coverage
1 32198708772.1 18 Aug 2026 11:48PM UTC 25
96.94
GitHub Action Run
Source Files on build 32198708772
  • Tree
  • List 25
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fdfb4d15 on github
  • Prev Build on master (#32198203704)
  • Next Build on master (#32204923861)
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