You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: prevent CPU busy-loop when LSP server process dies
When the LSP server crashes, readline() returns b'' (EOF) immediately
and forever. The read_loop continued spinning because the outer while
condition (process/stdout objects) remained truthy. Now breaks on empty
headers (no Content-Length parsed = EOF condition).
Adds regression test with 2-second timeout guard to catch reintroduction.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments