Claude Code v2.1.41 ·
WebSocket Connection Handling
EntryKind: in v2.1.41,
ChangesSection of the release
- Permanent close detection: WebSocket connections now recognize permanent close codes and avoid unnecessary reconnection attempts
- Bun ping support: Added specific ping handling for Bun runtime WebSocket connections
- Sessions WebSocket: Similar permanent close handling for session WebSocket connections
Evidence
WebSocket improvements (search for "WebSocketTransport: Permanent close code" and "Sent ping (Bun)")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.41 →