Skip to content

IPv6 Host field is stripped of Brackets in HTTPClientSession #172

@aleks-f

Description

@aleks-f

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions