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

stacklok / toolhive / 19126357479

06 Nov 2025 05:59AM UTC coverage: 48.381% (+0.02%) from 48.365%
19126357479

push

github

web-flow
Fix vMCP server graceful shutdown (#2472)

Resolves shutdown hang and "use of closed network connection" errors by:
removing redundant listener.Close() call since httpServer.Shutdown()
already handles listener cleanup internally.

Previously you would have seen:
```
5:21PM  ERROR   Errors during shutdown: [failed to close listener: close
tcp 127.0.0.1:4483: use of closed network connection]
Error: failed to close listener: close tcp 127.0.0.1:4483: use of closed
network connection
5:21PM  ERROR   Error executing command: failed to close listener: close
tcp 127.0.0.1:4483: use of closed network connection
```

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

9 existing lines in 3 files now uncovered.

22032 of 45539 relevant lines covered (48.38%)

37.22 hits per line

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

82.83
/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

© 2025 Coveralls, Inc