Michael Osipov created HTTPCORE-616:
---------------------------------------
Summary: Make parsing IPv6 ready
Key: HTTPCORE-616
URL: https://issues.apache.org/jira/browse/HTTPCORE-616
Project: HttpComponents HttpCore
Issue Type: Task
Components: HttpCore
Affects Versions: 5.0-beta10
Reporter: Michael Osipov
Based on mailng list discussions, there are issues with the following classes
need to be addressed:
* {{org.apache.hc.core5.net.Host.create(String)}} +
{{org.apache.hc.core5.net.URIAuthority.create(String)}} +
{{org.apache.hc.core5.http.HttpHost.create(String)}}: Will fail on IPv6
addresses when the port is extacted. One has to
probe for brackets: {{[]}}. Note that those brackets likely need to be dropped
when a socket
is obtained, but readded when a string compound {{host:port}} is build.
* {{org.apache.hc.core5.net.InetAddressUtils}}: Parsing may fail when an IPv6
scope id might be provided.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]