[
https://issues.apache.org/jira/browse/HTTPCORE-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17315062#comment-17315062
]
Carter Kozak commented on HTTPCORE-616:
---------------------------------------
I've begun working on this here:
[https://github.com/apache/httpcomponents-core/pull/279]
At the moment I've only looked into the first bullet, not the second (ipv6
scope id handling)
> 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
> Priority: Major
> Labels: volunteers-wanted
> Fix For: Future
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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]