{"version":"2.1.236","anchor":"ipv6-hosts-through-the-proxy","canonical_anchor":"ipv6-hosts-through-the-proxy","heading":"IPv6 hosts through the proxy","tier":"notice","area":"Sandbox","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.236\/e\/ipv6-hosts-through-the-proxy","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.236","markdown":"### IPv6 hosts through the proxy\n\nIPv6 destinations now work correctly through the proxy instead of getting a malformed host.\n\n**What**\n\nThe proxy now rewrites the forwarded Host header from the resolved address, wrapping IPv6 literals in brackets and appending the port, so IPv6 destinations are formed correctly. One connection-error branch destroys the socket instead of always trying to write a 500 response.\n\n**Evidence**\n\n`Error handling CONNECT: `\n\n- Area: Sandbox\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5"}