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

stacklok / toolhive / 21706693560

05 Feb 2026 09:47AM UTC coverage: 60.841% (-0.01%) from 60.852%
21706693560

push

github

web-flow
Fix proxy hang on kubectl attach EOF (#3584)

The proxy could hang indefinitely when kubectl attach terminated
its SPDY connection. This occurred because:

- SPDY executor retained corrupted state across retry attempts
- Pipe cleanup wasn't signaling EOF to the transport layer

Create fresh SPDY executor per retry to avoid state corruption.
Close pipes when attach goroutine exits to propagate EOF signal,
allowing the transport layer to detect the failure and trigger
re-attachment or exit.

Fixes: #3583

Signed-off-by: Robert Dailey <git@rdailey.me>

0 of 19 new or added lines in 1 file covered. (0.0%)

248 existing lines in 4 files now uncovered.

40955 of 67315 relevant lines covered (60.84%)

78.18 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

79.58
/pkg/transport/proxy/httpsse/http_proxy.go


Source Not Available

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