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

stacklok / toolhive / 22952704691 / 1
66%
main: 66%

Build:
DEFAULT BRANCH: main
Ran 11 Mar 2026 12:40PM UTC
Files 541
Run time 15s
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

11 Mar 2026 12:31PM UTC coverage: 63.963% (-0.04%) from 64.006%
22952704691.1

push

github

web-flow
Fix Content-Length mismatch in authz response filter with remote proxies (#4092)

When httputil.ReverseProxy forwards a response from a remote MCP server,
it copies the backend's Content-Length header to the ResponseWriter via
Header(). ResponseFilteringWriter does not override Header(), so the
original Content-Length leaks to the real writer. After Cedar policy
filtering changes the response body size, Go's HTTP server detects the
mismatch and tears down the connection.

Delete the stale Content-Length header before writing filtered responses
for both JSON and SSE content types. Go's HTTP library will handle
correct framing automatically.

Fixes: #4044

Co-authored-by: ChandraMohan0316 <chandrashanmugam007@gmail.com>

47719 of 74604 relevant lines covered (63.96%)

70.66 hits per line

Source Files on job 22952704691.1
  • Tree
  • List 541
  • Changed 9
  • Source Changed 1
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22952704691
  • 0ad68d6c on github
  • Prev Job for on main (#22952156052.1)
  • Next Job for on main (#22954653034.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