{"version":"2.1.222","anchor":"tunnel-sockets-are-always-destroyed-on-close","canonical_anchor":"tunnel-sockets-are-always-destroyed-on-close","heading":"Tunnel sockets are always destroyed on close","tier":"notice","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.222\/e\/tunnel-sockets-are-always-destroyed-on-close","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.222","markdown":"### Tunnel sockets are always destroyed on close\n\nTunnel connections that close before a response always shut down now, instead of lingering.\n\n**What**\n\nWhen an agent-proxy tunnel closes before a response arrives, the socket is now destroyed in all cases, removing a path where non-v2 connections could linger after a graceful end.\n\n**Details**\n\n- The branch that ended the socket gracefully for non-v2 connections was removed from the teardown path\n- The socket is destroyed unconditionally after \"tunnel closed before response\"\n\n**Evidence**\n\n`tunnel closed before response`\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 0\/5"}