Claude Code v2.1.222 ·
Tunnel sockets are destroyed on protocol violations
Misbehaving tunnel connections are torn down properly instead of leaving stuck half-open sockets behind.
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Bug FixesKind: in v2.1.222,
Bug FixesSection of the release
What
The local tunnel now treats data arriving before HELLO_ACK as a protocol error and tears the socket down.
Details
- Error and close paths destroy the socket rather than half-closing it.
- This applies whether or not the connection negotiated v2, so a stuck half-open socket is no longer left behind.
Evidence
server sent data before HELLO_ACK
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.222 →