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

alexferl / zerohttp / 22927738560 / 1
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 10 Mar 2026 10:47PM UTC
Files 66
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

10 Mar 2026 10:46PM UTC coverage: 93.445% (-0.009%) from 93.454%
22927738560.1

push

github

web-flow
  fix: add mutex protection to etagResponseWriter (#71)

The etagResponseWriter had a potential data race on the buffer field
  and state fields (hasWritten, written, skipETag, finalized) when
  Write() and Flush() were called concurrently.

  Changes:
  - Add sync.Mutex to etagResponseWriter struct
  - Create writeHeaderLocked(), writeLocked(), finalizeLocked() internal methods
  - Update public methods (WriteHeader, Write, Flush, finalize) to use locking
  - Add TestETag_ConcurrentWriteAndFlush to verify thread safety

Signed-off-by: alexferl <me@alexferl.com>

8112 of 8681 relevant lines covered (93.45%)

49.83 hits per line

Source Files on job 22927738560.1
  • Tree
  • List 66
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22927738560
  • 55acccd4 on github
  • Prev Job for on master (#22927420302.1)
  • Next Job for on master (#22927936641.1)
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