Skip to content

Loading…

IPv6 Host field is stripped of Brackets in HTTPClientSession #172

Closed
aleks-f opened this Issue · 1 comment

2 participants

@aleks-f
POCO C++ Libraries member

From https://sourceforge.net/p/poco/bugs/609/

When creating an HTTPClientSession the Host:port are provided. For IPv6 hosts, the brackets are stripped when sending the host field. So an address like:
[fc00:121:121:64::66]:8081 incorrectly appears in the host field as fc00:121:121:64::66:8081.
There is a workaround to explicitly set host on the Request to override the field with the correct value.

@aleks-f aleks-f was assigned
@obiltschnig
POCO C++ Libraries member

fixed in develop and 1.4.6p2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.