SIGN IN SIGN UP

[3.11] gh-100985: Consistently wrap IPv6 IP address during CONNECT (GH-100986) (GH-115606)

Update _get_hostport to always remove square brackets
from IPv6 addresses. Then add them if needed
in "CONNECT .." and "Host: ".
(cherry picked from commit 465db27cb983084e718a1fd9519b2726c96935cb)

Co-authored-by: Derek Higgins <derekh@redhat.com>
S
Serhiy Storchaka committed
6fbc61070fda2ffb8889e77e3b24bca4249ab4d1
Parent: a6776cd
Committed by GitHub <noreply@github.com> on 2/17/2024, 2:15:21 PM