{"version":"2.1.337","anchor":"http-looking-line-destroys-the-connection","canonical_anchor":"http-looking-line-destroys-the-connection","heading":"A local connection now closes when it receives what looks like a web request","tier":"internal","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/http-looking-line-destroys-the-connection","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### A local connection now closes when it receives what looks like a web request\n\nA local connection Claude Code reads line by line now closes when an unreadable line looks like the start of a web request\n\n**What**\n\nClaude Code has a local connection that it reads one line at a time. When a line it cannot understand looks like the first line of a web (HTTP) request, Claude Code now closes the connection. Before, it skipped the line and carried on.\n\n**Why**\n\nThis protects the connection against stray web traffic that was never meant for it.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}